-
Notifications
You must be signed in to change notification settings - Fork 0
/
dvc.yaml
37 lines (35 loc) · 1.01 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
stages:
load_data:
cmd: python src/load_data.py --config=params.yaml
deps:
- src/get_data.py
- src/load_data.py
- data_given/train_data.csv
- data_given/test_data.csv
outs:
- data/raw/train.csv
- data/raw/test.csv
preprocess_and_split:
cmd: python src/preprocess.py --config=params.yaml
deps:
- src/preprocess_and_split.py
- prediction_service/preprocess_prediction.py
- data/raw/train.csv
- data/raw/test.csv
outs:
- data/processed/train_processed.csv
- data/processed/test_processed.csv
train_and_evaluate:
cmd: python src/train_and_evaluate.py --config=params.yaml
deps:
- data/processed/train_processed.csv
- data/processed/test_df.csv
- src/train_and_evaluate.py
params:
- estimators.XGBoost.n_estimators
- estimators.XGBoost.learning_rate
- estimators.XGBoost.max_depth
# log_production_model:
# cmd: python src/log_production_model.py --config=params.yaml
# deps:
# - src/log_production_model.py