thbndi commited on
Commit
2bca97a
·
1 Parent(s): 73e2a36

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +2 -1
Mimic4Dataset.py CHANGED
@@ -72,6 +72,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
72
 
73
  features = datasets.Features(
74
  {
 
75
  "gender": datasets.Value("string"),
76
  "ethnicity": datasets.Value("string"),
77
  "age": datasets.Value("int32"),
@@ -115,7 +116,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
115
  "id": datasets.Sequence(datasets.Value("int32")),
116
  "value": datasets.Sequence(datasets.Sequence(datasets.Value("float32")))
117
  },
118
- "label": datasets.ClassLabel(names=["0", "1"]),
119
  }
120
  )
121
  return datasets.DatasetInfo(
 
72
 
73
  features = datasets.Features(
74
  {
75
+ "label": datasets.ClassLabel(names=["0", "1"]),
76
  "gender": datasets.Value("string"),
77
  "ethnicity": datasets.Value("string"),
78
  "age": datasets.Value("int32"),
 
116
  "id": datasets.Sequence(datasets.Value("int32")),
117
  "value": datasets.Sequence(datasets.Sequence(datasets.Value("float32")))
118
  },
119
+
120
  }
121
  )
122
  return datasets.DatasetInfo(