-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
49 lines (46 loc) · 1.16 KB
/
dvc.yaml
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
stages:
# https://dvc.org/doc/user-guide/project-structure/dvcyaml-files#stages
# https://dvc.org/doc/user-guide/project-structure/dvcyaml-files#stage-entries
load_data:
cmd: rye run python src/hydra_dvc_practice/load_data.py
deps:
- src/hydra_dvc_practice/load_data.py
outs:
- data/train.csv
- data/test.csv
params:
- test_size
- target
- seed
- paths
preprocess:
cmd: rye run python src/hydra_dvc_practice/preprocess.py
deps:
- data/train.csv
- data/test.csv
- src/hydra_dvc_practice/preprocess.py
outs:
- data/train_scaled.csv
- data/test_scaled.csv
params:
- scaler
train:
cmd: rye run python src/hydra_dvc_practice/train.py
deps:
- data/train_scaled.csv
- data/test_scaled.csv
- src/hydra_dvc_practice/train.py
outs:
- data/model.pkl
- data/model_params.json
params:
- model
eval:
cmd: rye run python src/hydra_dvc_practice/eval.py
deps:
- data/model.pkl
- src/hydra_dvc_practice/eval.py
outs:
- data/test_predictions.csv
metrics:
- data/evaluation_results.json