-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdvc.yaml
More file actions
116 lines (116 loc) · 2.92 KB
/
dvc.yaml
File metadata and controls
116 lines (116 loc) · 2.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
stages:
retrieve_raw_data:
cmd: pixi run python src/retrieve_raw_data.py
deps:
- src/retrieve_raw_data.py
params:
- raw_data_folder
- outcome_data_folder
- dataset
outs:
- ${repo_data_folder}/raw/
train_baseline:
cmd: pixi run python src/train_baseline.py
deps:
- ${repo_data_folder}/raw/
- src/train_baseline.py
outs:
- ${repo_data_folder}/models/baseline/
predict_baseline:
cmd: pixi run python src/predict_baseline.py
deps:
- ${repo_data_folder}/models/baseline/
- src/predict_baseline.py
params:
- predict_params
outs:
- ${repo_data_folder}/results/baseline/
feature_master:
cmd: pixi run python src/feature_master.py
deps:
- ${repo_data_folder}/raw/
- src/feature_master.py
params:
- master_params
outs:
- ${repo_data_folder}/${master_params.output_folder}/
feature_diag:
cmd: pixi run python src/featurize_table.py --table diag
deps:
- ${repo_data_folder}/raw/
- src/featurize_table.py
- src/featurization/diag.py
params:
- feature_params.diag_params
outs:
- ${repo_data_folder}/features/diag/
feature_procdr:
cmd: pixi run python src/featurize_table.py --table procdr
deps:
- ${repo_data_folder}/raw/
- src/featurize_table.py
- src/featurization/procdr.py
params:
- feature_params.procdr_params
outs:
- ${repo_data_folder}/features/procdr/
feature_moltest:
cmd: pixi run python src/featurize_table.py --table moltest
deps:
- ${repo_data_folder}/raw/
- src/featurize_table.py
- src/featurization/moltest.py
params:
- feature_params.moltest_params
outs:
- ${repo_data_folder}/features/moltest/
feature_test:
cmd: pixi run python src/featurize_table.py --table test
deps:
- ${repo_data_folder}/raw/
- src/featurize_table.py
- src/featurization/test.py
params:
- feature_params.test_params
outs:
- ${repo_data_folder}/features/test/
feature_drug:
cmd: pixi run python src/featurize_table.py --table drug
deps:
- ${repo_data_folder}/raw/
- src/featurize_table.py
- src/featurization/drug.py
params:
- feature_params.drug_params
outs:
- ${repo_data_folder}/features/drug/
train:
cmd: pixi run python src/train.py
deps:
- ${repo_data_folder}/features/
- src/train.py
- src/preprocessing.py
- src/models.py
params:
- train_params
outs:
- ${repo_data_folder}/models/current/
predict:
cmd: pixi run python src/predict.py
deps:
- ${repo_data_folder}/models/current/
- src/predict.py
params:
- predict_params
outs:
- ${repo_data_folder}/results/current/
metrics:
- data/models/baseline/metrics.json
- data/models/current/metrics.json
artifacts:
baseline:
path: data/models/baseline/best_model.pkl
type: model
best_model:
path: data/models/current/best_model.pkl
type: model