Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +4 -4
Mimic4Dataset.py
CHANGED
@@ -935,10 +935,10 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
935 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
936 |
"DEMO": datasets.Array2D(shape=(None, 4), dtype="int64"),
|
937 |
"COND" : datasets.Array2D(shape=(None, 1025), dtype='int64') ,
|
938 |
-
"MEDS" : datasets.Array2D(shape=(None, self.size_meds), dtype='
|
939 |
-
"PROC" : datasets.Array2D(shape=(None, self.size_proc), dtype='
|
940 |
-
"CHART" : datasets.Array2D(shape=(None, self.size_chart), dtype='
|
941 |
-
"OUT" : datasets.Array2D(shape=(None, self.size_out), dtype='
|
942 |
|
943 |
}
|
944 |
)
|
|
|
935 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
936 |
"DEMO": datasets.Array2D(shape=(None, 4), dtype="int64"),
|
937 |
"COND" : datasets.Array2D(shape=(None, 1025), dtype='int64') ,
|
938 |
+
"MEDS" : datasets.Array2D(shape=(None, self.size_meds), dtype='float32') ,
|
939 |
+
"PROC" : datasets.Array2D(shape=(None, self.size_proc), dtype='float32') ,
|
940 |
+
"CHART" : datasets.Array2D(shape=(None, self.size_chart), dtype='float32') ,
|
941 |
+
"OUT" : datasets.Array2D(shape=(None, self.size_out), dtype='float32') ,
|
942 |
|
943 |
}
|
944 |
)
|