forked from DataScientest-Studio/examen-dvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
53 lines (47 loc) · 1.24 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
50
51
52
53
stages:
split:
cmd: python src/data/split_data.py
deps:
- data/raw/raw.csv
- src/data/split_data.py
outs:
- data/processed/X_train.csv
- data/processed/X_test.csv
- data/processed/y_train.csv
- data/processed/y_test.csv
normalize:
cmd: python src/data/normalize_data.py
deps:
- data/processed/X_train.csv
- data/processed/X_test.csv
- src/data/normalize_data.py
outs:
- data/processed/X_train_scaled.csv
- data/processed/X_test_scaled.csv
grid_search:
cmd: python src/models/grid_search.py
deps:
- data/processed/X_train_scaled.csv
- data/processed/y_train.csv
- src/models/grid_search.py
outs:
- models/best_params.pkl
train:
cmd: python src/models/train_model.py
deps:
- models/best_params.pkl
- data/processed/X_train_scaled.csv
- data/processed/y_train.csv
- src/models/train_model.py
outs:
- models/gbr_model.pkl
evaluate:
cmd: python src/models/evaluate_model.py
deps:
- models/gbr_model.pkl
- data/processed/X_test_scaled.csv
- data/processed/y_test.csv
- src/models/evaluate_model.py
outs:
- data/prediction.csv
- metrics/scores.json