-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
55 lines (51 loc) · 1.33 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
54
stages:
make_dataset:
cmd: python src/data/make_dataset.py
deps:
- data/urls_with_features.csv
- src/data/make_dataset.py
outs:
- data/urls_with_features_selected.csv:
cache: false
build_features:
cmd: python src/features/build_features.py
deps:
- data/urls_with_features_selected.csv
- src/features/build_features.py
outs:
- data/test.csv:
cache: false
- data/train.csv:
cache: false
train_base_model:
cmd:
- python src/models/train_base_model.py
deps:
- src/models/utils.py
- data/train.csv
- src/models/train_base_model.py
train_tuned_model:
cmd:
- python src/models/train_tuned_model.py
deps:
- src/models/utils.py
- data/train.csv
- src/models/train_tuned_model.py
predict:
cmd:
- python src/models/predict.py
deps:
- src/models/utils.py
- src/models/predict.py
- models/base_rf_model.pkl
- models/tuned_rf_model.pkl
- data/test.csv
outs:
- reports/classification_report_base_rf.json:
cache: false
- reports/confusion_matrix_base_rf.json:
cache: false
- reports/classification_report_tuned_rf.json:
cache: false
- reports/confusion_matrix_tuned_rf.json:
cache: false