-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
81 lines (76 loc) · 2.62 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
76
77
78
79
80
81
stages:
load_data_train:
cmd: python src/training/stage_01_data_loader.py
--config=config/config.yaml
--params=config/params.yaml
deps:
- src/training/stage_01_data_loader.py
- src/utils/all_utils.py
- config/config.yaml
- config/params.yaml
outs:
- artifacts/local_data_dirs/aps_failure_training_set.csv
load_data_pred:
cmd: python src/prediction/stage_01_data_loader.py
--config=config/config.yaml
--params=config/params.yaml
deps:
- src/prediction/stage_01_data_loader.py
- src/utils/all_utils.py
- config/config.yaml
outs:
- artifacts/local_data_dirs/aps_failure_test_set.csv
preprocess_train_data:
cmd: python src/training/stage_02_data_preprocessing.py
--config=config/config.yaml
--params=config/params.yaml
deps:
- src/training/stage_02_data_preprocessing.py
- artifacts/local_data_dirs/aps_failure_training_set.csv
- src/utils/all_utils.py
- src/utils/DbOperations_Logs.py
- config/config.yaml
- config/params.yaml
outs:
- artifacts/preprocessed_data_dir/preprocessed_training_data.csv
preprocess_pred_data:
cmd: python src/prediction/stage_02_data_preprocessing.py
--config=config/config.yaml
--params=config/params.yaml
deps:
- src/prediction/stage_02_data_preprocessing.py
- artifacts/local_data_dirs/aps_failure_test_set.csv
- src/utils/all_utils.py
- src/utils/DbOperations_Logs.py
- config/config.yaml
- config/params.yaml
outs:
- artifacts/preprocessed_data_dir/preprocessed_testing_data.csv
model_trainer:
cmd: python src/training/stage_03_model_training.py
--config=config/config.yaml
--params=config/params.yaml
deps:
- src/training/stage_03_model_training.py
- artifacts/preprocessed_data_dir/preprocessed_training_data.csv
- src/utils/all_utils.py
- src/utils/DbOperations_Logs.py
- config/config.yaml
- config/params.yaml
outs:
- artifacts/model_dir/Xg-Boost.pkl
model_predictor:
cmd: python src/prediction/stage_03_model_predictor.py
--config=config/config.yaml
--params=config/params.yaml
--model=config/model.yaml
deps:
- src/prediction/stage_03_model_predictor.py
- artifacts/preprocessed_data_dir/preprocessed_testing_data.csv
- src/utils/all_utils.py
- src/utils/DbOperations_Logs.py
- config/config.yaml
- config/params.yaml
- config/model.yaml
outs:
- artifacts/Prediction_Output_DIR/Predictions.csv