thbndi commited on
Commit
39469d2
·
1 Parent(s): 68ed8b1

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. 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=(1, 4), dtype="int64"),
948
- "COND" : datasets.Array2D(shape=(1, 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') ,
 
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') ,