thbndi commited on
Commit
1f87786
·
1 Parent(s): 1410ca4

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +6 -6
Mimic4Dataset.py CHANGED
@@ -77,24 +77,24 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
77
  "age": datasets.Value("int32"),
78
  "COND": datasets.Sequence(datasets.Value("string")),
79
  "MEDS": {
80
- "signal": datasets.Sequence(
81
  {
82
  "id": datasets.Sequence(datasets.Value("int32")),
83
  "value": datasets.Sequence(datasets.Value("float32"))
84
  }
85
- ),
86
- "rate": datasets.Sequence(
87
  {
88
  "id": datasets.Value("int32"),
89
  "value": datasets.Sequence(datasets.Value("float32"))
90
  }
91
- ),
92
- "amount": datasets.Sequence(
93
  {
94
  "id": datasets.Value("int32"),
95
  "value": datasets.Sequence(datasets.Value("float32"))
96
  }
97
- )
98
  },
99
  "PROC": {
100
  "id": datasets.Sequence(datasets.Value("int32")),
 
77
  "age": datasets.Value("int32"),
78
  "COND": datasets.Sequence(datasets.Value("string")),
79
  "MEDS": {
80
+ "signal":
81
  {
82
  "id": datasets.Sequence(datasets.Value("int32")),
83
  "value": datasets.Sequence(datasets.Value("float32"))
84
  }
85
+ ,
86
+ "rate":
87
  {
88
  "id": datasets.Value("int32"),
89
  "value": datasets.Sequence(datasets.Value("float32"))
90
  }
91
+ ,
92
+ "amount":
93
  {
94
  "id": datasets.Value("int32"),
95
  "value": datasets.Sequence(datasets.Value("float32"))
96
  }
97
+
98
  },
99
  "PROC": {
100
  "id": datasets.Sequence(datasets.Value("int32")),