thbndi commited on
Commit
a76ba54
·
1 Parent(s): b6e83f9

Update cohort.py

Browse files
Files changed (1) hide show
  1. cohort.py +5 -5
cohort.py CHANGED
@@ -9,7 +9,7 @@ import yaml
9
 
10
  def task_cohort(task,mimic_path,path_benchmark, config_path):
11
  root_dir = path_benchmark
12
- config_path=path_benchmark+'/config/'+config_path
13
  with open(config_path) as f:
14
  config = yaml.safe_load(f)
15
  version_path = mimic_path
@@ -120,10 +120,10 @@ if __name__ == '__main__':
120
  mimic_path = sys.argv[2]
121
  path_benchmark = sys.argv[3]
122
  config = sys.argv[4]
123
- sys.path.append('./preprocessing/day_intervals_preproc')
124
- sys.path.append('./utils')
125
- sys.path.append('./preprocessing/hosp_module_preproc')
126
- sys.path.append('./model')
127
  import day_intervals_cohort_v22
128
  import day_intervals_cohort
129
  import feature_selection_icu
 
9
 
10
  def task_cohort(task,mimic_path,path_benchmark, config_path):
11
  root_dir = path_benchmark
12
+ config_path='./config/'+config_path
13
  with open(config_path) as f:
14
  config = yaml.safe_load(f)
15
  version_path = mimic_path
 
120
  mimic_path = sys.argv[2]
121
  path_benchmark = sys.argv[3]
122
  config = sys.argv[4]
123
+ sys.path.append('/preprocessing/day_intervals_preproc')
124
+ sys.path.append('/utils')
125
+ sys.path.append('/preprocessing/hosp_module_preproc')
126
+ sys.path.append('/model')
127
  import day_intervals_cohort_v22
128
  import day_intervals_cohort
129
  import feature_selection_icu