-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
40 lines (40 loc) · 930 Bytes
/
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
stages:
prepare:
cmd: python -m src.features.prepare
deps:
- data/raw/test.csv
- data/raw/train.csv
- src/features/prepare.py
params:
- prepare.random_state
- prepare.test_size
- prepare.train_size
outs:
- data/processed/X_train.csv
- data/processed/X_valid.csv
- data/processed/y_train.csv
- data/processed/y_valid.csv
train:
cmd: python -m src.models.train
deps:
- data/processed/X_train.csv
- data/processed/y_train.csv
- src/models/train.py
params:
- train.algorithm
- train.random_state
outs:
- models/iowa_model.pkl
metrics:
- metrics/emissions.csv:
cache: false
evaluate:
cmd: python -m src.models.evaluate
deps:
- data/processed/X_valid.csv
- data/processed/y_valid.csv
- models/iowa_model.pkl
- src/models/evaluate.py
metrics:
- metrics/scores.json:
cache: false