Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +7 -7
Mimic4Dataset.py
CHANGED
@@ -78,20 +78,20 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
78 |
"COND": datasets.Sequence(datasets.Value("string")),
|
79 |
"MEDS": datasets.Sequence(
|
80 |
{
|
81 |
-
"signal" : { datasets.Value("int32")
|
82 |
-
"rate" : { datasets.Value("int32")
|
83 |
-
"amount" : { datasets.Value("int32")
|
84 |
}),
|
85 |
"PROC": datasets.Sequence(
|
86 |
-
{datasets.Value("int32")
|
87 |
),
|
88 |
"CHART": datasets.Sequence(
|
89 |
{
|
90 |
-
"signal" : { datasets.Value("int32")
|
91 |
-
"val" : { datasets.Value("int32")
|
92 |
}),
|
93 |
"OUT": datasets.Sequence(
|
94 |
-
{datasets.Value("int32")
|
95 |
),
|
96 |
"label": datasets.ClassLabel(names=["0", "1"]),
|
97 |
}
|
|
|
78 |
"COND": datasets.Sequence(datasets.Value("string")),
|
79 |
"MEDS": datasets.Sequence(
|
80 |
{
|
81 |
+
"signal" : { datasets.Value("int32"),datasets.Sequence(datasets.Value("int32")) },
|
82 |
+
"rate" : { datasets.Value("int32"),datasets.Sequence(datasets.Value("int32")) },
|
83 |
+
"amount" : { datasets.Value("int32"),datasets.Sequence(datasets.Value("int32")) }
|
84 |
}),
|
85 |
"PROC": datasets.Sequence(
|
86 |
+
{datasets.Value("int32"),datasets.Sequence(datasets.Value("int32"))}
|
87 |
),
|
88 |
"CHART": datasets.Sequence(
|
89 |
{
|
90 |
+
"signal" : { datasets.Value("int32"),datasets.Sequence(datasets.Value("int32")) },
|
91 |
+
"val" : { datasets.Value("int32"),datasets.Sequence(datasets.Value("int32")) }
|
92 |
}),
|
93 |
"OUT": datasets.Sequence(
|
94 |
+
{datasets.Value("int32"),datasets.Sequence(datasets.Value("int32"))}
|
95 |
),
|
96 |
"label": datasets.ClassLabel(names=["0", "1"]),
|
97 |
}
|