Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -2
Mimic4Dataset.py
CHANGED
@@ -944,8 +944,8 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
944 |
features = datasets.Features(
|
945 |
{
|
946 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
947 |
-
"DEMO": datasets.Array2D(shape=(
|
948 |
-
"COND" : datasets.Array2D(shape=(
|
949 |
"MEDS" : datasets.Array2D(shape=(None, self.size_meds), dtype='int64') ,
|
950 |
"PROC" : datasets.Array2D(shape=(None, self.size_proc), dtype='int64') ,
|
951 |
"CHART" : datasets.Array2D(shape=(None, self.size_chart), dtype='int64') ,
|
|
|
944 |
features = datasets.Features(
|
945 |
{
|
946 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
947 |
+
"DEMO": datasets.Array2D(shape=(None, 4), dtype="int64"),
|
948 |
+
"COND" : datasets.Array2D(shape=(None, 1025), dtype='int64') ,
|
949 |
"MEDS" : datasets.Array2D(shape=(None, self.size_meds), dtype='int64') ,
|
950 |
"PROC" : datasets.Array2D(shape=(None, self.size_proc), dtype='int64') ,
|
951 |
"CHART" : datasets.Array2D(shape=(None, self.size_chart), dtype='int64') ,
|