Update cohort.py
Browse files
cohort.py
CHANGED
@@ -16,9 +16,6 @@ def task_cohort(task,mimic_path,path_benchmark, config_path):
|
|
16 |
version = version_path.split('/')[-1][0]
|
17 |
start = time.time()
|
18 |
#----------------------------------------------config----------------------------------------------------
|
19 |
-
with open(config) as f:
|
20 |
-
config = yaml.safe_load(f)
|
21 |
-
|
22 |
disease_label = config['disease_label']
|
23 |
tim = config['time']
|
24 |
label = config['label']
|
|
|
16 |
version = version_path.split('/')[-1][0]
|
17 |
start = time.time()
|
18 |
#----------------------------------------------config----------------------------------------------------
|
|
|
|
|
|
|
19 |
disease_label = config['disease_label']
|
20 |
tim = config['time']
|
21 |
label = config['label']
|