forked from TripathiAshutosh/dvc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
76 lines (75 loc) · 1.59 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
stages:
data_split:
cmd: python src/data_split.py
deps:
- src/data_split.py
params:
- base.random_state
- data_source.local_path
- split.split_ratio
outs:
- data/split
data_processing:
cmd: python src/data_processing.py data/processed
deps:
- data/split
- src/data_processing.py
params:
- process.dir
- process.test_file
- process.train_file
- split.dir
- split.test_file
- split.train_file
outs:
- data/processed
train:
cmd: python src/train.py data/features model/model.pkl
deps:
- data/processed
- src/train.py
params:
- base.random_state
- base.target_col
- model_dir
- process.dir
- process.test_file
- process.train_file
- train.n_est
outs:
- model/model.pkl
evaluate:
cmd: python src/evaluate.py model/model.pkl data/processed
deps:
- data/processed
- model/model.pkl
- src/evaluate.py
outs:
- eval/importance.png
- eval/live/plots:
cache: false
- eval/prc:
cache: false
metrics:
- eval/live/metrics.json:
cache: false
plots:
- ROC:
template: simple
x: fpr
y:
eval/live/plots/sklearn/roc/train.json: tpr
eval/live/plots/sklearn/roc/test.json: tpr
- Confusion-Matrix:
template: confusion
x: actual
y:
eval/live/plots/sklearn/cm/train.json: predicted
eval/live/plots/sklearn/cm/test.json: predicted
- Precision-Recall:
template: simple
x: recall
y:
eval/prc/train.json: precision
eval/prc/test.json: precision
- eval/importance.png