thbndi commited on
Commit
2193822
·
1 Parent(s): fff395e

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -1
Mimic4Dataset.py CHANGED
@@ -123,7 +123,7 @@ def check_config(task,config_file):
123
  assert (predW<=8 and predW>=2, "Prediction window should be between 2 and 8")
124
  assert (timeW[0]=='Fisrt' and include<=72 and include>=24, "Time window should be between First 24 and First 72")
125
 
126
- elif task=='Length of Stay':
127
  label= 'Length of Stay'
128
  assert (timeW[0]=='Fisrt' and include<=72 and include>=24, "Time window should be between Fisrt 24 and Fisrt 72")
129
  assert (time<=10 and time>=1, "Length of stay should be between 1 and 10")
 
123
  assert (predW<=8 and predW>=2, "Prediction window should be between 2 and 8")
124
  assert (timeW[0]=='Fisrt' and include<=72 and include>=24, "Time window should be between First 24 and First 72")
125
 
126
+ elif task=='Length_of_Stay':
127
  label= 'Length of Stay'
128
  assert (timeW[0]=='Fisrt' and include<=72 and include>=24, "Time window should be between Fisrt 24 and Fisrt 72")
129
  assert (time<=10 and time>=1, "Length of stay should be between 1 and 10")