Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -2
Mimic4Dataset.py
CHANGED
@@ -960,9 +960,9 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
960 |
|
961 |
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)
|
962 |
if i==999:
|
963 |
-
print('999 : \n' stat, demo, meds, chart, out, proc, lab, y)
|
964 |
if i==1000:
|
965 |
-
print('\n 1000 : \n' stat, demo, meds, chart, out, proc, lab, y)
|
966 |
i+=1
|
967 |
yield int(key), {
|
968 |
'label': y,
|
|
|
960 |
|
961 |
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)
|
962 |
if i==999:
|
963 |
+
print('999 : \n', stat, demo, meds, chart, out, proc, lab, y)
|
964 |
if i==1000:
|
965 |
+
print('\n 1000 : \n', stat, demo, meds, chart, out, proc, lab, y)
|
966 |
i+=1
|
967 |
yield int(key), {
|
968 |
'label': y,
|