
prabinpanta0/Patient-Readmission-Prediction
Text Classification
•
Updated
•
36
•
1
age
stringclasses 6
values | time_in_hospital
int64 1
14
| n_lab_procedures
int64 1
113
| n_procedures
int64 0
6
| n_medications
int64 1
79
| n_outpatient
int64 0
33
| n_inpatient
int64 0
15
| n_emergency
int64 0
64
| medical_specialty
stringclasses 7
values | diag_1
stringclasses 8
values | diag_2
stringclasses 8
values | diag_3
stringclasses 8
values | glucose_test
stringclasses 3
values | A1Ctest
stringclasses 3
values | change
stringclasses 2
values | diabetes_med
stringclasses 2
values | readmitted
stringclasses 2
values |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[70-80)
| 8 | 72 | 1 | 18 | 2 | 0 | 0 |
Missing
|
Circulatory
|
Respiratory
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[70-80)
| 3 | 34 | 2 | 13 | 0 | 0 | 0 |
Other
|
Other
|
Other
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[50-60)
| 5 | 45 | 0 | 18 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
yes
|
[70-80)
| 2 | 36 | 0 | 12 | 1 | 0 | 0 |
Missing
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
yes
|
yes
|
yes
|
[60-70)
| 1 | 42 | 0 | 7 | 0 | 0 | 0 |
InternalMedicine
|
Other
|
Circulatory
|
Respiratory
|
no
|
no
|
no
|
yes
|
no
|
[40-50)
| 2 | 51 | 0 | 10 | 0 | 0 | 0 |
Missing
|
Other
|
Other
|
Other
|
no
|
no
|
no
|
no
|
yes
|
[50-60)
| 4 | 44 | 2 | 21 | 0 | 0 | 0 |
Missing
|
Injury
|
Other
|
Other
|
no
|
normal
|
yes
|
yes
|
no
|
[60-70)
| 1 | 19 | 6 | 16 | 0 | 0 | 1 |
Other
|
Circulatory
|
Other
|
Other
|
no
|
no
|
no
|
yes
|
yes
|
[80-90)
| 4 | 67 | 3 | 13 | 0 | 0 | 0 |
InternalMedicine
|
Digestive
|
Other
|
Other
|
no
|
no
|
no
|
no
|
yes
|
[70-80)
| 8 | 37 | 1 | 18 | 0 | 0 | 0 |
Family/GeneralPractice
|
Respiratory
|
Respiratory
|
Other
|
no
|
no
|
yes
|
yes
|
no
|
[70-80)
| 1 | 35 | 0 | 7 | 0 | 0 | 0 |
Missing
|
Injury
|
Injury
|
Injury
|
no
|
no
|
yes
|
yes
|
no
|
[50-60)
| 4 | 69 | 0 | 6 | 0 | 0 | 0 |
InternalMedicine
|
Respiratory
|
Other
|
Circulatory
|
no
|
no
|
yes
|
yes
|
no
|
[70-80)
| 8 | 67 | 0 | 21 | 0 | 0 | 0 |
Other
|
Diabetes
|
Circulatory
|
Other
|
no
|
normal
|
no
|
yes
|
no
|
[80-90)
| 3 | 60 | 0 | 18 | 0 | 2 | 0 |
Family/GeneralPractice
|
Respiratory
|
Circulatory
|
Other
|
no
|
no
|
yes
|
yes
|
no
|
[80-90)
| 2 | 73 | 1 | 26 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
no
|
yes
|
no
|
[80-90)
| 8 | 52 | 0 | 20 | 0 | 0 | 0 |
Missing
|
Other
|
Circulatory
|
Other
|
no
|
no
|
yes
|
yes
|
yes
|
[70-80)
| 3 | 52 | 0 | 10 | 0 | 0 | 0 |
Other
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
no
|
yes
|
yes
|
[50-60)
| 1 | 9 | 0 | 11 | 0 | 0 | 0 |
Missing
|
Respiratory
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
no
|
no
|
[40-50)
| 7 | 72 | 0 | 13 | 0 | 0 | 0 |
InternalMedicine
|
Diabetes
|
Other
|
Other
|
no
|
high
|
no
|
yes
|
yes
|
[60-70)
| 2 | 16 | 3 | 16 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Diabetes
|
Other
|
no
|
no
|
no
|
no
|
no
|
[90-100)
| 5 | 62 | 0 | 20 | 0 | 0 | 0 |
InternalMedicine
|
Respiratory
|
Circulatory
|
Circulatory
|
no
|
high
|
yes
|
yes
|
no
|
[50-60)
| 4 | 54 | 5 | 27 | 0 | 0 | 0 |
Cardiology
|
Circulatory
|
Circulatory
|
Diabetes
|
no
|
high
|
yes
|
yes
|
no
|
[70-80)
| 3 | 69 | 1 | 13 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Diabetes
|
no
|
no
|
no
|
yes
|
yes
|
[60-70)
| 10 | 60 | 0 | 10 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Other
|
Other
|
no
|
normal
|
no
|
no
|
no
|
[50-60)
| 4 | 37 | 2 | 15 | 0 | 0 | 0 |
Missing
|
Digestive
|
Digestive
|
Respiratory
|
no
|
no
|
no
|
no
|
no
|
[80-90)
| 5 | 58 | 1 | 15 | 1 | 3 | 0 |
Surgery
|
Circulatory
|
Respiratory
|
Other
|
no
|
no
|
yes
|
yes
|
no
|
[80-90)
| 4 | 40 | 0 | 8 | 0 | 0 | 0 |
Missing
|
Digestive
|
Other
|
Diabetes
|
no
|
no
|
no
|
no
|
yes
|
[60-70)
| 10 | 52 | 5 | 22 | 0 | 0 | 0 |
Cardiology
|
Injury
|
Injury
|
Other
|
no
|
no
|
no
|
yes
|
yes
|
[50-60)
| 3 | 40 | 1 | 17 | 0 | 1 | 0 |
Missing
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 4 | 35 | 0 | 14 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Circulatory
|
Other
|
no
|
no
|
yes
|
yes
|
yes
|
[80-90)
| 2 | 16 | 2 | 17 | 2 | 0 | 0 |
Missing
|
Musculoskeletal
|
Diabetes
|
Musculoskeletal
|
normal
|
no
|
no
|
yes
|
no
|
[60-70)
| 2 | 40 | 1 | 8 | 0 | 2 | 1 |
Other
|
Other
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 2 | 23 | 3 | 17 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
yes
|
[60-70)
| 2 | 32 | 6 | 12 | 0 | 0 | 0 |
Family/GeneralPractice
|
Circulatory
|
Circulatory
|
Diabetes
|
no
|
no
|
yes
|
yes
|
no
|
[80-90)
| 1 | 54 | 1 | 8 | 0 | 0 | 0 |
Other
|
Other
|
Diabetes
|
Circulatory
|
no
|
no
|
no
|
yes
|
no
|
[50-60)
| 2 | 54 | 6 | 28 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
high
|
yes
|
yes
|
no
|
[70-80)
| 3 | 65 | 0 | 10 | 0 | 0 | 0 |
Emergency/Trauma
|
Other
|
Other
|
Digestive
|
no
|
no
|
yes
|
yes
|
yes
|
[40-50)
| 3 | 58 | 0 | 10 | 0 | 6 | 10 |
Missing
|
Musculoskeletal
|
Other
|
Diabetes
|
no
|
no
|
yes
|
yes
|
yes
|
[60-70)
| 1 | 1 | 0 | 5 | 0 | 0 | 0 |
Emergency/Trauma
|
Diabetes
|
Digestive
|
Other
|
no
|
no
|
no
|
no
|
yes
|
[40-50)
| 3 | 47 | 1 | 10 | 2 | 2 | 0 |
Missing
|
Other
|
Circulatory
|
Other
|
no
|
no
|
no
|
yes
|
yes
|
[60-70)
| 5 | 39 | 1 | 16 | 0 | 0 | 0 |
InternalMedicine
|
Other
|
Circulatory
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[40-50)
| 3 | 67 | 1 | 10 | 0 | 1 | 0 |
InternalMedicine
|
Diabetes
|
Diabetes
|
Other
|
no
|
high
|
no
|
yes
|
yes
|
[50-60)
| 5 | 45 | 0 | 24 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
no
|
yes
|
no
|
[80-90)
| 3 | 59 | 1 | 15 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Circulatory
|
Diabetes
|
no
|
high
|
yes
|
yes
|
no
|
[50-60)
| 4 | 42 | 0 | 9 | 0 | 0 | 0 |
Missing
|
Digestive
|
Digestive
|
Digestive
|
no
|
no
|
no
|
no
|
yes
|
[60-70)
| 6 | 72 | 3 | 27 | 2 | 9 | 0 |
Missing
|
Digestive
|
Other
|
Other
|
no
|
high
|
no
|
yes
|
yes
|
[80-90)
| 7 | 68 | 0 | 9 | 0 | 0 | 0 |
InternalMedicine
|
Other
|
Circulatory
|
Diabetes
|
no
|
no
|
no
|
no
|
yes
|
[70-80)
| 12 | 66 | 6 | 28 | 0 | 0 | 0 |
Other
|
Injury
|
Injury
|
Circulatory
|
no
|
no
|
no
|
yes
|
yes
|
[60-70)
| 2 | 43 | 4 | 5 | 0 | 0 | 0 |
InternalMedicine
|
Digestive
|
Other
|
Diabetes
|
no
|
high
|
no
|
no
|
no
|
[80-90)
| 11 | 30 | 3 | 21 | 0 | 3 | 0 |
Family/GeneralPractice
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
no
|
[40-50)
| 4 | 66 | 0 | 14 | 0 | 7 | 1 |
InternalMedicine
|
Circulatory
|
Circulatory
|
Respiratory
|
no
|
normal
|
yes
|
yes
|
yes
|
[60-70)
| 6 | 34 | 3 | 26 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Respiratory
|
no
|
no
|
no
|
yes
|
yes
|
[50-60)
| 7 | 23 | 1 | 19 | 0 | 1 | 0 |
Surgery
|
Injury
|
Other
|
Diabetes
|
normal
|
no
|
yes
|
yes
|
yes
|
[70-80)
| 2 | 46 | 5 | 9 | 0 | 0 | 0 |
Cardiology
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
yes
|
yes
|
yes
|
[40-50)
| 3 | 59 | 0 | 10 | 0 | 0 | 0 |
Missing
|
Other
|
Other
|
Other
|
no
|
no
|
no
|
no
|
no
|
[60-70)
| 6 | 48 | 2 | 27 | 0 | 1 | 0 |
Missing
|
Digestive
|
Other
|
Musculoskeletal
|
no
|
high
|
yes
|
yes
|
no
|
[60-70)
| 1 | 5 | 0 | 13 | 0 | 1 | 0 |
Missing
|
Other
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
yes
|
[50-60)
| 3 | 42 | 0 | 16 | 0 | 3 | 0 |
InternalMedicine
|
Diabetes
|
Digestive
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[80-90)
| 3 | 24 | 0 | 5 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
no
|
yes
|
[80-90)
| 3 | 65 | 2 | 18 | 3 | 0 | 1 |
Missing
|
Circulatory
|
Other
|
Respiratory
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 1 | 39 | 0 | 1 | 0 | 0 | 0 |
Other
|
Injury
|
Injury
|
Respiratory
|
no
|
no
|
no
|
no
|
no
|
[60-70)
| 4 | 52 | 0 | 16 | 2 | 0 | 0 |
Missing
|
Digestive
|
Other
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[60-70)
| 2 | 73 | 0 | 25 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Other
|
Circulatory
|
no
|
normal
|
yes
|
yes
|
yes
|
[80-90)
| 9 | 70 | 6 | 19 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
normal
|
no
|
no
|
no
|
[50-60)
| 4 | 25 | 1 | 13 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
yes
|
yes
|
[40-50)
| 3 | 29 | 0 | 8 | 0 | 0 | 1 |
Missing
|
Respiratory
|
Diabetes
|
Missing
|
no
|
no
|
yes
|
yes
|
yes
|
[70-80)
| 8 | 65 | 0 | 20 | 0 | 0 | 0 |
InternalMedicine
|
Respiratory
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
yes
|
[50-60)
| 1 | 52 | 0 | 7 | 0 | 0 | 0 |
Emergency/Trauma
|
Digestive
|
Diabetes
|
Other
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 7 | 49 | 4 | 32 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Circulatory
|
Injury
|
no
|
no
|
no
|
yes
|
no
|
[60-70)
| 4 | 23 | 1 | 10 | 0 | 0 | 0 |
Other
|
Musculoskeletal
|
Other
|
Other
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 6 | 51 | 1 | 16 | 0 | 0 | 0 |
Family/GeneralPractice
|
Circulatory
|
Other
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[50-60)
| 1 | 53 | 0 | 15 | 0 | 3 | 0 |
InternalMedicine
|
Circulatory
|
Diabetes
|
Circulatory
|
no
|
no
|
no
|
no
|
no
|
[80-90)
| 4 | 39 | 0 | 22 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
yes
|
yes
|
no
|
[40-50)
| 2 | 36 | 0 | 24 | 0 | 0 | 0 |
Missing
|
Respiratory
|
Circulatory
|
Diabetes
|
no
|
no
|
yes
|
yes
|
yes
|
[50-60)
| 4 | 94 | 0 | 19 | 0 | 0 | 0 |
Emergency/Trauma
|
Diabetes
|
Other
|
Other
|
no
|
high
|
yes
|
yes
|
yes
|
[60-70)
| 3 | 18 | 0 | 14 | 0 | 0 | 0 |
Missing
|
Respiratory
|
Circulatory
|
Circulatory
|
high
|
no
|
yes
|
yes
|
yes
|
[60-70)
| 2 | 43 | 0 | 3 | 0 | 0 | 0 |
InternalMedicine
|
Respiratory
|
Circulatory
|
Diabetes
|
no
|
no
|
no
|
no
|
no
|
[50-60)
| 9 | 37 | 2 | 26 | 0 | 0 | 0 |
Missing
|
Musculoskeletal
|
Other
|
Injury
|
no
|
no
|
no
|
no
|
yes
|
[50-60)
| 3 | 9 | 2 | 18 | 1 | 0 | 0 |
Missing
|
Other
|
Diabetes
|
Circulatory
|
no
|
no
|
yes
|
yes
|
no
|
[80-90)
| 5 | 59 | 0 | 31 | 0 | 4 | 0 |
Family/GeneralPractice
|
Other
|
Diabetes
|
Other
|
no
|
no
|
yes
|
yes
|
yes
|
[90-100)
| 6 | 65 | 1 | 14 | 0 | 1 | 0 |
Missing
|
Musculoskeletal
|
Other
|
Circulatory
|
no
|
no
|
no
|
yes
|
no
|
[70-80)
| 6 | 61 | 0 | 22 | 1 | 0 | 0 |
Missing
|
Circulatory
|
Respiratory
|
Circulatory
|
no
|
no
|
no
|
no
|
yes
|
[60-70)
| 4 | 60 | 3 | 31 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Injury
|
Respiratory
|
no
|
no
|
yes
|
yes
|
yes
|
[60-70)
| 4 | 54 | 0 | 18 | 0 | 3 | 0 |
Missing
|
Digestive
|
Other
|
Digestive
|
no
|
no
|
no
|
no
|
no
|
[50-60)
| 1 | 60 | 0 | 5 | 0 | 0 | 0 |
Missing
|
Other
|
Circulatory
|
Other
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 2 | 11 | 2 | 14 | 0 | 1 | 0 |
Family/GeneralPractice
|
Circulatory
|
Circulatory
|
Other
|
no
|
no
|
yes
|
yes
|
no
|
[70-80)
| 1 | 34 | 0 | 9 | 0 | 2 | 0 |
Family/GeneralPractice
|
Diabetes
|
Circulatory
|
Other
|
no
|
no
|
no
|
yes
|
yes
|
[50-60)
| 6 | 70 | 0 | 9 | 0 | 1 | 0 |
Missing
|
Digestive
|
Diabetes
|
Digestive
|
no
|
no
|
no
|
no
|
no
|
[60-70)
| 8 | 52 | 4 | 25 | 0 | 0 | 0 |
Emergency/Trauma
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
yes
|
no
|
[80-90)
| 8 | 33 | 3 | 10 | 0 | 2 | 0 |
Missing
|
Other
|
Other
|
Diabetes
|
no
|
no
|
no
|
yes
|
no
|
[60-70)
| 3 | 28 | 6 | 6 | 0 | 0 | 0 |
Emergency/Trauma
|
Circulatory
|
Circulatory
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[50-60)
| 2 | 47 | 1 | 11 | 0 | 0 | 0 |
Missing
|
Other
|
Respiratory
|
Other
|
no
|
normal
|
yes
|
yes
|
yes
|
[70-80)
| 5 | 40 | 1 | 6 | 0 | 0 | 0 |
InternalMedicine
|
Circulatory
|
Diabetes
|
Circulatory
|
no
|
no
|
no
|
yes
|
no
|
[40-50)
| 6 | 83 | 2 | 18 | 0 | 0 | 0 |
Missing
|
Circulatory
|
Other
|
Diabetes
|
no
|
no
|
no
|
yes
|
yes
|
[80-90)
| 6 | 48 | 1 | 12 | 0 | 0 | 0 |
Missing
|
Injury
|
Diabetes
|
Circulatory
|
no
|
no
|
no
|
no
|
no
|
[70-80)
| 4 | 1 | 1 | 15 | 0 | 3 | 0 |
Emergency/Trauma
|
Circulatory
|
Other
|
Circulatory
|
no
|
no
|
yes
|
yes
|
no
|
[80-90)
| 3 | 39 | 0 | 12 | 0 | 0 | 0 |
Missing
|
Diabetes
|
Other
|
Other
|
no
|
no
|
yes
|
yes
|
no
|
[60-70)
| 4 | 24 | 2 | 19 | 7 | 2 | 0 |
Missing
|
Diabetes
|
Musculoskeletal
|
Other
|
no
|
no
|
no
|
yes
|
no
|
[60-70)
| 3 | 50 | 0 | 21 | 0 | 1 | 0 |
Emergency/Trauma
|
Circulatory
|
Circulatory
|
Circulatory
|
no
|
no
|
no
|
yes
|
no
|
[50-60)
| 3 | 42 | 1 | 23 | 0 | 0 | 0 |
Surgery
|
Digestive
|
Circulatory
|
Other
|
no
|
no
|
yes
|
yes
|
yes
|
Original Dataset post: hospital-readmissions by Dubradave in Kaggle.