Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -1
Mimic4Dataset.py
CHANGED
@@ -961,8 +961,9 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
961 |
task=self.config.name.replace(" ","_")
|
962 |
i=0
|
963 |
for key, data in dico.items():
|
964 |
-
stat, demo, meds, chart, out, proc, lab, y = getXY_deep(data, task, self.feat_cond, self.feat_proc, self.feat_out, self.feat_chart, self.feat_meds)
|
965 |
print(i,key)
|
|
|
|
|
966 |
i+=1
|
967 |
yield int(key), {
|
968 |
'label': y,
|
|
|
961 |
task=self.config.name.replace(" ","_")
|
962 |
i=0
|
963 |
for key, data in dico.items():
|
|
|
964 |
print(i,key)
|
965 |
+
stat, demo, meds, chart, out, proc, lab, y = getXY_deep(data, task, self.feat_cond, self.feat_proc, self.feat_out, self.feat_chart, self.feat_meds)
|
966 |
+
|
967 |
i+=1
|
968 |
yield int(key), {
|
969 |
'label': y,
|