-
Notifications
You must be signed in to change notification settings - Fork 67
/
dvc.yaml
75 lines (66 loc) · 1.4 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
stages:
get-data:
cmd: python src/get_data.py
--output_folder ${data.output_folder}
deps:
- src/get_data.py
params:
- data
outs:
- ${data.output_folder}
metrics:
- ${data.metrics_file}:
cache: false
split-data:
cmd:
python src/split_data.py
${data.output_folder}
${split.output_folder}
${split.test_size}
${split.metrics_file}
deps:
- ${data.output_folder}
- src/split_data.py
outs:
- ${split.output_folder}
metrics:
- ${split.metrics_file}:
cache: false
train:
cmd:
python src/train.py
${split.output_folder}
${train.output_folder}
deps:
- ${split.output_folder}
- src/train.py
params:
- data.labels
- train
outs:
- ${train.output_folder}
metrics:
- ${train.metrics_folder}.json:
cache: false
plots:
- ${train.metrics_folder}:
cache: false
eval:
cmd:
python src/eval.py
${split.output_folder}/val.json
${train.output_folder}
${eval.output_folder}
params:
- data.labels
deps:
- ${split.output_folder}/val.json
- ${train.output_folder}
- src/eval.py
- src/inference.py
plots:
- ${eval.output_folder}/plots/confusion_matrix.json:
cache: false
template: confusion
x: actual
y: predicted