thbndi commited on
Commit
3de01f8
·
1 Parent(s): 5725f22

Update cohort.py

Browse files
Files changed (1) hide show
  1. cohort.py +2 -2
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, root_dir,disease_label)
56
  elif version == '1':
57
- cohort_output = day_intervals_cohort.extract_data(icu_no_icu,label,tim,icd_code, root_dir,disease_label)
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-------------------------------------------------------