thbndi commited on
Commit
4f51f82
·
1 Parent(s): 9c9bd3d

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. 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,1), dtype="float32"),
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(