Update Mimic4Dataset.py
Browse files- Mimic4Dataset.py +2 -1
Mimic4Dataset.py
CHANGED
@@ -153,10 +153,11 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
|
|
153 |
timeW = config['timeWindow']
|
154 |
self.timeW=int(timeW.split()[1])
|
155 |
self.bucket = config['timebucket']
|
156 |
-
if self.config.name=='Mortality':
|
157 |
self.wind = config['predW']
|
158 |
else :
|
159 |
self.wind =1
|
|
|
160 |
self.data_icu = config['icu_no_icu']=='ICU'
|
161 |
|
162 |
if self.data_icu:
|
|
|
153 |
timeW = config['timeWindow']
|
154 |
self.timeW=int(timeW.split()[1])
|
155 |
self.bucket = config['timebucket']
|
156 |
+
if self.config.name =='Mortality':
|
157 |
self.wind = config['predW']
|
158 |
else :
|
159 |
self.wind =1
|
160 |
+
print(self.wind)
|
161 |
self.data_icu = config['icu_no_icu']=='ICU'
|
162 |
|
163 |
if self.data_icu:
|