Datasets:
Upload post_operative.py
Browse files- post_operative.py +6 -5
post_operative.py
CHANGED
@@ -35,12 +35,13 @@ _ENCODING_DICS = {
|
|
35 |
"unstable": False,
|
36 |
},
|
37 |
"is_internal_temperature_stable": {
|
38 |
-
"stable":
|
39 |
-
"
|
|
|
40 |
},
|
41 |
"is_blood_pressure_stable": {
|
42 |
"stable": 2,
|
43 |
-
"mod-stable":
|
44 |
"unstable": 0,
|
45 |
}
|
46 |
}
|
@@ -68,7 +69,7 @@ features_types_per_config = {
|
|
68 |
"oxigen_saturation": datasets.Value("int8"),
|
69 |
"blood_pressure": datasets.Value("int8"),
|
70 |
"is_surface_temperature_stable": datasets.Value("bool"),
|
71 |
-
"is_internal_temperature_stable": datasets.Value("
|
72 |
"is_blood_pressure_stable": datasets.Value("int8"),
|
73 |
"perceived_comfort": datasets.Value("int8"),
|
74 |
"decision": datasets.ClassLabel(num_classes=3, names=("discharge", "hospital floor", "intensive care")),
|
@@ -79,7 +80,7 @@ features_types_per_config = {
|
|
79 |
"oxigen_saturation": datasets.Value("int8"),
|
80 |
"blood_pressure": datasets.Value("int8"),
|
81 |
"is_surface_temperature_stable": datasets.Value("bool"),
|
82 |
-
"is_internal_temperature_stable": datasets.Value("
|
83 |
"is_blood_pressure_stable": datasets.Value("int8"),
|
84 |
"perceived_comfort": datasets.Value("int8"),
|
85 |
"decision": datasets.ClassLabel(num_classes=2, names=("discharge", "don't discharge")),
|
|
|
35 |
"unstable": False,
|
36 |
},
|
37 |
"is_internal_temperature_stable": {
|
38 |
+
"stable": 2,
|
39 |
+
"mod-stable": 1,
|
40 |
+
"unstable": 0,
|
41 |
},
|
42 |
"is_blood_pressure_stable": {
|
43 |
"stable": 2,
|
44 |
+
"mod-stable": 1,
|
45 |
"unstable": 0,
|
46 |
}
|
47 |
}
|
|
|
69 |
"oxigen_saturation": datasets.Value("int8"),
|
70 |
"blood_pressure": datasets.Value("int8"),
|
71 |
"is_surface_temperature_stable": datasets.Value("bool"),
|
72 |
+
"is_internal_temperature_stable": datasets.Value("int8"),
|
73 |
"is_blood_pressure_stable": datasets.Value("int8"),
|
74 |
"perceived_comfort": datasets.Value("int8"),
|
75 |
"decision": datasets.ClassLabel(num_classes=3, names=("discharge", "hospital floor", "intensive care")),
|
|
|
80 |
"oxigen_saturation": datasets.Value("int8"),
|
81 |
"blood_pressure": datasets.Value("int8"),
|
82 |
"is_surface_temperature_stable": datasets.Value("bool"),
|
83 |
+
"is_internal_temperature_stable": datasets.Value("int8"),
|
84 |
"is_blood_pressure_stable": datasets.Value("int8"),
|
85 |
"perceived_comfort": datasets.Value("int8"),
|
86 |
"decision": datasets.ClassLabel(num_classes=2, names=("discharge", "don't discharge")),
|