-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdvc.yaml
54 lines (48 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
# updated dvc.yaml
stages:
data_ingestion:
cmd: python src/data/data_ingestion.py
deps:
- src/data/data_ingestion.py
params:
- data_ingestion.test_size
outs:
- data/raw
data_preprocessing:
cmd: python src/data/data_preprocessing.py
deps:
- data/raw
- src/data/data_preprocessing.py
outs:
- data/interim
feature_engineering:
cmd: python src/features/feature_engineering.py
deps:
- data/interim
- src/features/feature_engineering.py
params:
- feature_engineering.max_features
outs:
- data/processed
- models/vectorizer.pkl
model_building:
cmd: python src/model/model_building.py
deps:
- data/processed
- src/model/model_building.py
outs:
- models/model.pkl
model_evaluation:
cmd: python src/model/model_evaluation.py
deps:
- models/model.pkl
- src/model/model_evaluation.py
metrics:
- reports/metrics.json
outs:
- reports/experiment_info.json # Add the model_info.json file as an output
model_registration:
cmd: python src/model/register_model.py
deps:
- reports/experiment_info.json
- src/model/register_model.py