forked from iterative/example-get-started
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
56 lines (56 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
50
51
52
53
54
55
56
stages:
prepare:
cmd: python src/prepare.py data/data.xml
deps:
- data/data.xml
- src/prepare.py
params:
- prepare.seed
- prepare.split
outs:
- data/prepared
featurize:
cmd: python src/featurization.py data/prepared data/features
deps:
- data/prepared
- src/featurization.py
params:
- featurize.max_features
- featurize.ngrams
outs:
- data/features
train:
cmd: python src/train.py data/features model.pkl
deps:
- data/features
- src/train.py
params:
- train.min_split
- train.n_est
- train.seed
outs:
- model.pkl
evaluate:
cmd: python src/evaluate.py model.pkl data/features
deps:
- data/features
- model.pkl
- src/evaluate.py
metrics:
- evaluation.json:
cache: false
plots:
- evaluation/importance.png
- evaluation/plots/confusion_matrix.json:
cache: false
template: confusion
x: actual
y: predicted
- evaluation/plots/precision_recall.json:
cache: false
x: recall
y: precision
- evaluation/plots/roc.json:
cache: false
x: fpr
y: tpr