Update task_cohort.py
Browse files- task_cohort.py +2 -2
task_cohort.py
CHANGED
@@ -132,7 +132,7 @@ def create_cohort(task, mimic_path, config_path):
|
|
132 |
import day_intervals_cohort
|
133 |
import feature_selection_icu
|
134 |
import feature_selection_hosp
|
135 |
-
import
|
136 |
import data_generation_icu_modify
|
137 |
import data_generation_modify
|
138 |
|
@@ -199,7 +199,7 @@ def create_cohort(task, mimic_path, config_path):
|
|
199 |
|
200 |
#-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
|
201 |
if version == '2':
|
202 |
-
cohort_output =
|
203 |
|
204 |
elif version == '1':
|
205 |
cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
|
|
|
132 |
import day_intervals_cohort
|
133 |
import feature_selection_icu
|
134 |
import feature_selection_hosp
|
135 |
+
import day_intervals_cohort_v22
|
136 |
import data_generation_icu_modify
|
137 |
import data_generation_modify
|
138 |
|
|
|
199 |
|
200 |
#-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
|
201 |
if version == '2':
|
202 |
+
cohort_output = day_intervals_cohort_v22.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
|
203 |
|
204 |
elif version == '1':
|
205 |
cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, root_dir,version_path,disease_label)
|