Update data_generation_icu_modify.py
Browse files
data_generation_icu_modify.py
CHANGED
@@ -14,7 +14,7 @@ if not os.path.exists("./data/dict"):
|
|
14 |
if not os.path.exists("./data/csv"):
|
15 |
os.makedirs("./data/csv")
|
16 |
|
17 |
-
class
|
18 |
def __init__(self,task,cohort_output,if_mort,if_admn,if_los,feat_cond,feat_proc,feat_out,feat_chart,feat_med,impute,include_time=24,bucket=1,predW=6):
|
19 |
self.feat_cond,self.feat_proc,self.feat_out,self.feat_chart,self.feat_med = feat_cond,feat_proc,feat_out,feat_chart,feat_med
|
20 |
self.cohort_output=cohort_output
|
|
|
14 |
if not os.path.exists("./data/csv"):
|
15 |
os.makedirs("./data/csv")
|
16 |
|
17 |
+
class Generator():
|
18 |
def __init__(self,task,cohort_output,if_mort,if_admn,if_los,feat_cond,feat_proc,feat_out,feat_chart,feat_med,impute,include_time=24,bucket=1,predW=6):
|
19 |
self.feat_cond,self.feat_proc,self.feat_out,self.feat_chart,self.feat_med = feat_cond,feat_proc,feat_out,feat_chart,feat_med
|
20 |
self.cohort_output=cohort_output
|