-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
executable file
·58 lines (52 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
55
56
57
stages:
data_collection:
cmd: python3 src/extract_dataset.py
deps:
- src/extract_dataset.py
outs:
- data/raw/extracted
data_preparation:
cmd: python3 src/data_preparation.py
deps:
- data/raw/extracted/corpus.csv
- src/data_preparation.py
outs:
- data/interim/cleaned_data.csv
data_splitting:
cmd: python3 src/data_splitting.py
deps:
- data/interim/cleaned_data.csv
- src/data_splitting.py
params:
- data_splitting.test_size
outs:
- data/processed/X_test.csv
- data/processed/X_train.csv
- data/processed/y_test.csv
- data/processed/y_train.csv
model_training:
cmd: python3 src/model_training.py
deps:
- data/processed/X_test.csv
- data/processed/X_train.csv
- data/processed/y_test.csv
- data/processed/y_train.csv
- src/model_training.py
params:
- model_training.colsample_bytree
- model_training.learning_rate
- model_training.max_depth
- model_training.n_estimators
- model_training.num_leaves
- model_training.subsample
outs:
- models/model.joblib
model_evaluation:
cmd: python3 src/model_evaluation.py
deps:
- data/processed/X_test.csv
- data/processed/y_test.csv
- models/model.joblib
- src/model_evaluation.py
metrics:
- metrics/metrics.json