Youran Li commited on
Commit
d555b51
·
verified ·
1 Parent(s): e0ddc6c

Fix metadata: remove invalid task_ids

Browse files
Files changed (1) hide show
  1. README.md +10 -141
README.md CHANGED
@@ -2,8 +2,6 @@
2
  license: unknown
3
  task_categories:
4
  - tabular-classification
5
- task_ids:
6
- - binary-classification
7
  tags:
8
  - healthcare
9
  - diabetes
@@ -20,149 +18,20 @@ size_categories:
20
 
21
  ## Dataset Summary
22
 
23
- This dataset is derived from the Kaggle Diabetic Patients Readmission Prediction dataset. The original dataset contains electronic health record data from diabetic patient hospital encounters and is commonly used for hospital readmission prediction.
24
-
25
- This released version formats the data for binary classification of 30-day hospital readmission and provides reproducible train, validation, and test splits for evaluating clinical prediction models and uncertainty quantification methods.
26
-
27
- ## Source Data
28
-
29
- Original source:
30
-
31
- - Kaggle: https://www.kaggle.com/datasets/saurabhtayal/diabetic-patients-readmission-prediction
32
 
33
  ## Prediction Task
34
 
35
- The prediction task is binary classification.
36
-
37
- Target variable:
38
-
39
- - `readmit_30d`
40
-
41
- Label definition:
42
-
43
- - `1`: patient was readmitted within 30 days, corresponding to `readmitted == "<30"`
44
- - `0`: patient was not readmitted within 30 days, corresponding to `readmitted == ">30"` or `readmitted == "NO"`
45
-
46
- The original multiclass `readmitted` variable was converted into this binary target.
47
-
48
- ## Dataset Files
49
-
50
- This repository contains the following files:
51
-
52
- - `train.csv`: processed training split
53
- - `validation.csv`: processed validation split
54
- - `test.csv`: processed test split
55
- - `train_raw.csv`: raw training split before imputation and one-hot encoding
56
- - `validation_raw.csv`: raw validation split before imputation and one-hot encoding
57
- - `test_raw.csv`: raw test split before imputation and one-hot encoding
58
- - `cohort.csv`: encounter identifiers, patient identifiers, original readmission label, and binary label
59
- - `features.csv`: raw feature table excluding the original `readmitted` target column
60
-
61
- ## Dataset Statistics
62
-
63
- | Split | N | Negatives | Positives | Positive Rate |
64
- |---|---:|---:|---:|---:|
65
- | Train | 71236 | 63286 | 7950 | 0.1116 |
66
- | Validation | 15265 | 13561 | 1704 | 0.1116 |
67
- | Test | 15265 | 13562 | 1703 | 0.1116 |
68
- | Total | 101766 | 90409 | 11357 | 0.1116 |
69
-
70
- Additional dataset information:
71
-
72
- - Number of total samples: 101766
73
- - Number of raw feature columns: 49
74
- - Number of processed feature columns after one-hot encoding: 2332
75
- - Feature types: mixed categorical and numerical clinical variables
76
- - Missing value marker in original dataset: `"?"`
77
-
78
- ## Feature Overview
79
-
80
- The raw dataset includes clinical and administrative variables such as:
81
-
82
- - Demographic information
83
- - Admission and discharge information
84
- - Time in hospital
85
- - Laboratory test results
86
- - Medication indicators
87
- - Diagnosis code fields
88
- - Prior inpatient, outpatient, and emergency visit counts
89
-
90
- Categorical features were one-hot encoded in the processed split files.
91
-
92
- ## Data Processing Pipeline
93
-
94
- The released dataset was generated using the following preprocessing procedure:
95
-
96
- 1. Loaded `diabetic_data.csv`
97
- 2. Replaced all `"?"` entries with missing values
98
- 3. Created the binary label `readmit_30d`
99
- 4. Created a cohort file containing `encounter_id`, `patient_nbr`, `readmitted`, and `readmit_30d`
100
- 5. Created a raw feature file by removing the original `readmitted` target column
101
- 6. Split the full dataset into train, validation, and test partitions using a 70/15/15 split
102
- 7. Stratified both split steps by `readmit_30d`
103
- 8. Removed identifier columns from modeling features:
104
- - `encounter_id`
105
- - `patient_nbr`
106
- 9. Removed target columns from modeling features:
107
- - `readmitted`
108
- - `readmit_30d`
109
- 10. Identified categorical and numerical columns using the training split only
110
- 11. Imputed numerical features using the training-set median
111
- 12. One-hot encoded categorical features using categories learned from the training split
112
- 13. Aligned validation and test feature columns to the training feature columns
113
- 14. Normalized column names to avoid special characters such as `<`, `>`, `[`, and `]`
114
-
115
- ## Reproducibility
116
-
117
- The splits and preprocessing are reproducible using the following settings:
118
-
119
- - Train/temporary split seed: `42`
120
- - Validation/test split seed: `42`
121
- - Split ratio: 70% train, 15% validation, 15% test
122
- - Stratification variable: `readmit_30d`
123
- - Numerical imputation: median imputation fit on training split only
124
- - Categorical encoding: one-hot encoding fit on training split only
125
- - Unknown categorical levels in validation/test: ignored during encoding
126
-
127
- ## Intended Use
128
-
129
- This dataset is intended for research on:
130
-
131
- - Binary clinical prediction
132
- - Hospital readmission prediction
133
- - Uncertainty quantification
134
- - Selective prediction
135
- - Risk-coverage evaluation
136
- - Decision-aware evaluation of machine learning models
137
-
138
- ## Out-of-Scope Use
139
-
140
- This dataset should not be used for direct clinical decision-making, diagnosis, prognosis, or treatment allocation without external validation and appropriate clinical oversight.
141
-
142
- ## Limitations
143
-
144
- Important limitations include:
145
-
146
- - Retrospective observational data
147
- - Potential label noise in administrative readmission labels
148
- - Missingness in several clinical variables
149
- - Class imbalance in the 30-day readmission outcome
150
- - Potential dataset-specific biases
151
- - Limited generalizability to other hospitals, time periods, or patient populations
152
-
153
- ## Ethical Considerations
154
-
155
- This dataset is derived from publicly available clinical data. Users should handle it responsibly and avoid using models trained on this dataset for clinical deployment without further validation.
156
-
157
- ## Citation
158
-
159
- If you use this dataset, please cite the original Kaggle dataset:
160
 
161
- Diabetic Patients Readmission Prediction:
162
- https://www.kaggle.com/datasets/saurabhtayal/diabetic-patients-readmission-prediction
163
 
164
- You may also cite this dataset repository if using this processed version as part of an uncertainty quantification benchmark.
 
 
165
 
166
- ## Additional Notes
167
 
168
- This dataset is part of a multi-dataset benchmark for evaluating uncertainty quantification methods in clinical prediction tasks.
 
2
  license: unknown
3
  task_categories:
4
  - tabular-classification
 
 
5
  tags:
6
  - healthcare
7
  - diabetes
 
18
 
19
  ## Dataset Summary
20
 
21
+ This dataset is derived from the Kaggle diabetic readmission dataset and is formatted for binary classification of 30-day hospital readmission.
 
 
 
 
 
 
 
 
22
 
23
  ## Prediction Task
24
 
25
+ - Target: `readmit_30d`
26
+ - `1`: readmitted within 30 days
27
+ - `0`: otherwise
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ ## Files
 
30
 
31
+ - `train.csv`
32
+ - `validation.csv`
33
+ - `test.csv`
34
 
35
+ ## Notes
36
 
37
+ This dataset is intended for uncertainty quantification and clinical prediction research.