Datasets:
Tasks:
Tabular Classification
Modalities:
Tabular
Formats:
csv
Sub-tasks:
tabular-multi-class-classification
Size:
100K - 1M
Tags:
healthcare
diabetes
readmission
electronic-health-records
uncertainty-quantification
clinical-prediction
License:
Youran Li commited on
Full dataset restructure
Browse files- .gitattributes +1 -0
- cohort.csv → Intermediate Data/cohort.csv +0 -0
- features.csv → Intermediate Data/features.csv +0 -0
- test_raw.csv → Intermediate Data/test_raw.csv +0 -0
- train_raw.csv → Intermediate Data/train_raw.csv +0 -0
- validation_raw.csv → Intermediate Data/validation_raw.csv +0 -0
- test.csv → Preprocessed Data/test.csv +0 -0
- train.csv → Preprocessed Data/train.csv +0 -0
- validation.csv → Preprocessed Data/validation.csv +0 -0
- README.md +0 -91
- Raw Data/.DS_Store +0 -0
- Raw Data/Data Dictionary.png +3 -0
- Raw Data/IDS_mapping.csv +68 -0
- Raw Data/cohort.csv +0 -0
- Raw Data/diabetic_data.csv +3 -0
- Raw Data/features.csv +3 -0
.gitattributes
CHANGED
|
@@ -63,3 +63,4 @@ train.csv filter=lfs diff=lfs merge=lfs -text
|
|
| 63 |
test.csv filter=lfs diff=lfs merge=lfs -text
|
| 64 |
train_raw.csv filter=lfs diff=lfs merge=lfs -text
|
| 65 |
validation.csv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 63 |
test.csv filter=lfs diff=lfs merge=lfs -text
|
| 64 |
train_raw.csv filter=lfs diff=lfs merge=lfs -text
|
| 65 |
validation.csv filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
Raw[[:space:]]Data/diabetic_data.csv filter=lfs diff=lfs merge=lfs -text
|
cohort.csv → Intermediate Data/cohort.csv
RENAMED
|
File without changes
|
features.csv → Intermediate Data/features.csv
RENAMED
|
File without changes
|
test_raw.csv → Intermediate Data/test_raw.csv
RENAMED
|
File without changes
|
train_raw.csv → Intermediate Data/train_raw.csv
RENAMED
|
File without changes
|
validation_raw.csv → Intermediate Data/validation_raw.csv
RENAMED
|
File without changes
|
test.csv → Preprocessed Data/test.csv
RENAMED
|
File without changes
|
train.csv → Preprocessed Data/train.csv
RENAMED
|
File without changes
|
validation.csv → Preprocessed Data/validation.csv
RENAMED
|
File without changes
|
README.md
DELETED
|
@@ -1,91 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: unknown
|
| 3 |
-
task_categories:
|
| 4 |
-
- tabular-classification
|
| 5 |
-
tags:
|
| 6 |
-
- healthcare
|
| 7 |
-
- diabetes
|
| 8 |
-
- readmission
|
| 9 |
-
- electronic-health-records
|
| 10 |
-
- uncertainty-quantification
|
| 11 |
-
- clinical-prediction
|
| 12 |
-
pretty_name: Diabetic Patient 30-Day Readmission Dataset
|
| 13 |
-
size_categories:
|
| 14 |
-
- 100K<n<1M
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
# Diabetic Patient 30-Day Readmission Dataset
|
| 18 |
-
|
| 19 |
-
## Dataset Summary
|
| 20 |
-
|
| 21 |
-
This dataset is derived from the Kaggle Diabetic Patients Readmission Prediction dataset and contains electronic health record (EHR) data from diabetic patient hospital encounters across the United States.
|
| 22 |
-
|
| 23 |
-
It is formatted for binary classification of 30-day hospital readmission and is designed for evaluating predictive modeling and uncertainty quantification methods.
|
| 24 |
-
|
| 25 |
-
## Source Data
|
| 26 |
-
|
| 27 |
-
Original dataset:
|
| 28 |
-
|
| 29 |
-
https://www.kaggle.com/datasets/saurabhtayal/diabetic-patients-readmission-prediction
|
| 30 |
-
|
| 31 |
-
## Prediction Task
|
| 32 |
-
|
| 33 |
-
Binary classification of 30-day hospital readmission.
|
| 34 |
-
|
| 35 |
-
Target variable: `readmit_30d`
|
| 36 |
-
|
| 37 |
-
- `1`: readmitted within 30 days (`<30`)
|
| 38 |
-
- `0`: not readmitted within 30 days (`>30` or `NO`)
|
| 39 |
-
|
| 40 |
-
## Dataset Files
|
| 41 |
-
|
| 42 |
-
- `train.csv`: processed training split
|
| 43 |
-
- `validation.csv`: processed validation split
|
| 44 |
-
- `test.csv`: processed test split
|
| 45 |
-
- `train_raw.csv`: raw training split
|
| 46 |
-
- `validation_raw.csv`: raw validation split
|
| 47 |
-
- `test_raw.csv`: raw test split
|
| 48 |
-
- `cohort.csv`: identifiers + labels
|
| 49 |
-
- `features.csv`: raw features
|
| 50 |
-
|
| 51 |
-
## Dataset Statistics
|
| 52 |
-
|
| 53 |
-
| Split | N | Negatives | Positives | Positive Rate |
|
| 54 |
-
|---|---:|---:|---:|---:|
|
| 55 |
-
| Train | 71236 | 63286 | 7950 | 0.1116 |
|
| 56 |
-
| Validation | 15265 | 13561 | 1704 | 0.1116 |
|
| 57 |
-
| Test | 15265 | 13562 | 1703 | 0.1116 |
|
| 58 |
-
| Total | 101766 | 90409 | 11357 | 0.1116 |
|
| 59 |
-
|
| 60 |
-
## Data Processing Pipeline
|
| 61 |
-
|
| 62 |
-
- Replaced `"?"` with missing values
|
| 63 |
-
- Created binary label `readmit_30d`
|
| 64 |
-
- Stratified 70/15/15 split
|
| 65 |
-
- Removed identifiers and target columns from features
|
| 66 |
-
- Median imputation for numeric features
|
| 67 |
-
- One-hot encoding for categorical features
|
| 68 |
-
- Aligned feature columns across splits
|
| 69 |
-
|
| 70 |
-
## Intended Use
|
| 71 |
-
|
| 72 |
-
- Clinical prediction modeling
|
| 73 |
-
- Uncertainty quantification
|
| 74 |
-
- Risk-coverage analysis
|
| 75 |
-
- Decision-aware evaluation
|
| 76 |
-
|
| 77 |
-
## Limitations
|
| 78 |
-
|
| 79 |
-
- Retrospective dataset
|
| 80 |
-
- Potential label noise
|
| 81 |
-
- Missing values
|
| 82 |
-
- Class imbalance
|
| 83 |
-
- Limited generalizability
|
| 84 |
-
|
| 85 |
-
## Ethical Considerations
|
| 86 |
-
|
| 87 |
-
This dataset is derived from de-identified clinical data and should not be used for clinical decision-making without validation.
|
| 88 |
-
|
| 89 |
-
## Citation
|
| 90 |
-
|
| 91 |
-
Please cite the original Kaggle dataset when using this resource.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
admission_type_id,description
|
| 2 |
+
1,Emergency
|
| 3 |
+
2,Urgent
|
| 4 |
+
3,Elective
|
| 5 |
+
4,Newborn
|
| 6 |
+
5,Not Available
|
| 7 |
+
6,NULL
|
| 8 |
+
7,Trauma Center
|
| 9 |
+
8,Not Mapped
|
| 10 |
+
,
|
| 11 |
+
discharge_disposition_id,description
|
| 12 |
+
1,Discharged to home
|
| 13 |
+
2,Discharged/transferred to another short term hospital
|
| 14 |
+
3,Discharged/transferred to SNF
|
| 15 |
+
4,Discharged/transferred to ICF
|
| 16 |
+
5,Discharged/transferred to another type of inpatient care institution
|
| 17 |
+
6,Discharged/transferred to home with home health service
|
| 18 |
+
7,Left AMA
|
| 19 |
+
8,Discharged/transferred to home under care of Home IV provider
|
| 20 |
+
9,Admitted as an inpatient to this hospital
|
| 21 |
+
10,Neonate discharged to another hospital for neonatal aftercare
|
| 22 |
+
11,Expired
|
| 23 |
+
12,Still patient or expected to return for outpatient services
|
| 24 |
+
13,Hospice / home
|
| 25 |
+
14,Hospice / medical facility
|
| 26 |
+
15,Discharged/transferred within this institution to Medicare approved swing bed
|
| 27 |
+
16,Discharged/transferred/referred another institution for outpatient services
|
| 28 |
+
17,Discharged/transferred/referred to this institution for outpatient services
|
| 29 |
+
18,NULL
|
| 30 |
+
19,"Expired at home. Medicaid only, hospice."
|
| 31 |
+
20,"Expired in a medical facility. Medicaid only, hospice."
|
| 32 |
+
21,"Expired, place unknown. Medicaid only, hospice."
|
| 33 |
+
22,Discharged/transferred to another rehab fac including rehab units of a hospital .
|
| 34 |
+
23,Discharged/transferred to a long term care hospital.
|
| 35 |
+
24,Discharged/transferred to a nursing facility certified under Medicaid but not certified under Medicare.
|
| 36 |
+
25,Not Mapped
|
| 37 |
+
26,Unknown/Invalid
|
| 38 |
+
30,Discharged/transferred to another Type of Health Care Institution not Defined Elsewhere
|
| 39 |
+
27,Discharged/transferred to a federal health care facility.
|
| 40 |
+
28,Discharged/transferred/referred to a psychiatric hospital of psychiatric distinct part unit of a hospital
|
| 41 |
+
29,Discharged/transferred to a Critical Access Hospital (CAH).
|
| 42 |
+
,
|
| 43 |
+
admission_source_id,description
|
| 44 |
+
1, Physician Referral
|
| 45 |
+
2,Clinic Referral
|
| 46 |
+
3,HMO Referral
|
| 47 |
+
4,Transfer from a hospital
|
| 48 |
+
5, Transfer from a Skilled Nursing Facility (SNF)
|
| 49 |
+
6, Transfer from another health care facility
|
| 50 |
+
7, Emergency Room
|
| 51 |
+
8, Court/Law Enforcement
|
| 52 |
+
9, Not Available
|
| 53 |
+
10, Transfer from critial access hospital
|
| 54 |
+
11,Normal Delivery
|
| 55 |
+
12, Premature Delivery
|
| 56 |
+
13, Sick Baby
|
| 57 |
+
14, Extramural Birth
|
| 58 |
+
15,Not Available
|
| 59 |
+
17,NULL
|
| 60 |
+
18, Transfer From Another Home Health Agency
|
| 61 |
+
19,Readmission to Same Home Health Agency
|
| 62 |
+
20, Not Mapped
|
| 63 |
+
21,Unknown/Invalid
|
| 64 |
+
22, Transfer from hospital inpt/same fac reslt in a sep claim
|
| 65 |
+
23, Born inside this hospital
|
| 66 |
+
24, Born outside this hospital
|
| 67 |
+
25, Transfer from Ambulatory Surgery Center
|
| 68 |
+
26,Transfer from Hospice
|
Raw Data/cohort.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Raw Data/diabetic_data.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0689e7ec031237dc63031b938805c48377748761a3b26acab621567afa24df97
|
| 3 |
+
size 19159383
|
Raw Data/features.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95066ffc9ab86187c77c605e8c9907b9fb908932d5394159bba28c5412959e9c
|
| 3 |
+
size 17787884
|