thbndi commited on
Commit
32184cf
·
1 Parent(s): a6613d0

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +12 -6
Mimic4Dataset.py CHANGED
@@ -98,9 +98,12 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
98
  )
99
  }
100
  ),
101
- "PROC": datasets.Sequence(
102
- {datasets.Value("int32"),datasets.Sequence(datasets.Value("int32"))}
103
- ),
 
 
 
104
  "CHART": datasets.Sequence(
105
  {
106
  "signal" : datasets.Sequence(
@@ -116,9 +119,12 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
116
  }
117
  ),
118
  }),
119
- "OUT": datasets.Sequence(
120
- {datasets.Value("int32"),datasets.Sequence(datasets.Value("int32"))}
121
- ),
 
 
 
122
  "label": datasets.ClassLabel(names=["0", "1"]),
123
  }
124
  )
 
98
  )
99
  }
100
  ),
101
+ "PROC": datasets.Sequence(
102
+ {
103
+ "key": datasets.Value("int32"),
104
+ "value": datasets.Sequence(datasets.Value("float32"))
105
+ }
106
+ )
107
  "CHART": datasets.Sequence(
108
  {
109
  "signal" : datasets.Sequence(
 
119
  }
120
  ),
121
  }),
122
+ "OUT": datasets.Sequence(
123
+ {
124
+ "key": datasets.Value("int32"),
125
+ "value": datasets.Sequence(datasets.Value("float32"))
126
+ }
127
+ )
128
  "label": datasets.ClassLabel(names=["0", "1"]),
129
  }
130
  )