Update cohort.py
Browse files
cohort.py
CHANGED
@@ -52,9 +52,9 @@ def task_cohort(task,mimic_path,path_benchmark, config_path):
|
|
52 |
|
53 |
#-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
|
54 |
if version == '2':
|
55 |
-
cohort_output = day_intervals_cohort_v2.extract_data(icu_no_icu,label,tim,icd_code,
|
56 |
elif version == '1':
|
57 |
-
cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code,
|
58 |
end = time.time()
|
59 |
print("Time elapsed : ", round((end - start)/60,2),"mins")
|
60 |
#----------------------------------------------FEATURES-------------------------------------------------------
|
|
|
52 |
|
53 |
#-----------------------------------------------EXTRACT MIMIC-----------------------------------------------------
|
54 |
if version == '2':
|
55 |
+
cohort_output = day_intervals_cohort_v2.extract_data(icu_no_icu,label,tim,icd_code, version_path,disease_label)
|
56 |
elif version == '1':
|
57 |
+
cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, version_path,disease_label)
|
58 |
end = time.time()
|
59 |
print("Time elapsed : ", round((end - start)/60,2),"mins")
|
60 |
#----------------------------------------------FEATURES-------------------------------------------------------
|