-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
55 lines (54 loc) · 1.3 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
stages:
get_data:
cmd: python src/data/get_data.py
deps:
- src/data/get_data.py
- data/train.txt
- data/test.txt
- data/val.txt
outs:
- output/raw_x_train.joblib
- output/raw_y_train.joblib
- output/raw_x_test.joblib
- output/raw_y_test.joblib
- output/raw_x_val.joblib
- output/raw_y_val.joblib
preprocess:
cmd: python src/features/process_data.py
deps:
- src/features/process_data.py
- output/raw_x_train.joblib
- output/raw_y_train.joblib
- output/raw_x_test.joblib
- output/raw_y_test.joblib
- output/raw_x_val.joblib
- output/raw_y_val.joblib
outs:
- output/char_index.joblib
- output/x_train.joblib
- output/y_train.joblib
- output/x_test.joblib
- output/y_test.joblib
- output/x_val.joblib
- output/y_val.joblib
train:
cmd: python src/models/train.py
deps:
- src/models/model_definition.py
- output/char_index.joblib
- src/models/train.py
- output/x_train.joblib
- output/y_train.joblib
- output/x_val.joblib
- output/y_val.joblib
outs:
- output/model.h5
predict:
cmd: python src/models/predict.py
deps:
- src/models/predict.py
- output/model.h5
- output/x_test.joblib
- output/y_test.joblib
metrics:
- output/metrics.json