File size: 2,620 Bytes
314840e
 
 
 
 
eac1450
314840e
 
 
 
 
 
 
 
 
 
c682483
 
 
 
 
 
 
 
 
314840e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37db776
92c2fcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
license: unknown
task_categories:
- tabular-classification
task_ids:
- tabular-multi-class-classification
tags:
- healthcare
- diabetes
- readmission
- electronic-health-records
- uncertainty-quantification
- clinical-prediction
pretty_name: Diabetic Patient 30-Day Readmission Dataset
size_categories:
- 100K<n<1M
configs:
- config_name: preprocessed
  data_files:
  - split: train
    path: "Preprocessed Data/train.csv"
  - split: validation
    path: "Preprocessed Data/validation.csv"
  - split: test
    path: "Preprocessed Data/test.csv"
---

# Diabetic Patient 30-Day Readmission Dataset

## Dataset Summary

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.

This released version organizes the repository into three levels of data:

1. **Raw Data**: the original downloaded source files.
2. **Intermediate Data**: derived files before final model-ready preprocessing, including cohort, feature table, and train/validation/test splits before imputation and one-hot encoding.
3. **Preprocessed Data**: final model-ready train/validation/test files after imputation, one-hot encoding, column alignment, and label attachment.

The dataset is formatted 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.

## Source Data

Original source:

- Kaggle: https://www.kaggle.com/datasets/saurabhtayal/diabetic-patients-readmission-prediction

## Prediction Task

The prediction task is binary classification.

Target variable:

- `readmit_30d`

Label definition:

- `1`: patient was readmitted within 30 days, corresponding to `readmitted == "<30"`
- `0`: patient was not readmitted within 30 days, corresponding to `readmitted == ">30"` or `readmitted == "NO"`

The original multiclass `readmitted` variable was converted into this binary target.

## Repository Structure

```text
.
├── README.md
├── Raw Data/
│   ├── diabetic_data.csv
│   ├── IDS_mapping.csv
│   ├── Data Dictionary.png
│   └── other original source files, if present
├── Intermediate Data/
│   ├── cohort.csv
│   ├── features.csv
│   ├── train_raw.csv
│   ├── validation_raw.csv
│   └── test_raw.csv
└── Preprocessed Data/
    ├── train.csv
    ├── validation.csv
    └── test.csv
```