Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +1 -1
Mimic4Dataset.py
CHANGED
@@ -845,7 +845,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
845 |
features = datasets.Features(
|
846 |
{
|
847 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
848 |
-
"onehot" : datasets.Array2D(shape=(None
|
849 |
}
|
850 |
)
|
851 |
return datasets.DatasetInfo(
|
|
|
845 |
features = datasets.Features(
|
846 |
{
|
847 |
"label": datasets.ClassLabel(num_classes=2,names=["0", "1"]),
|
848 |
+
"onehot" : datasets.Array2D(shape=(1,None), dtype="float32"),
|
849 |
}
|
850 |
)
|
851 |
return datasets.DatasetInfo(
|