-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparams.yaml
78 lines (68 loc) · 1.76 KB
/
params.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
# parameters
base:
project_name: delivery-time-estimation
target: Time_taken(min)
load_dataset:
bucket: delivery-time-estimate-data
filename: train.csv
raw_data: /data/raw
make_dataset:
input_path: data/raw/train.csv
holdout_split: 0.2
unit_test_split: 0.1
seed: 42
train_test_path: /data/interim
unit_test_path: /tests/data
feature_engineering:
input_path__train: data/interim/train.csv
input_path__test: data/interim/test.csv
export_path: /data/processed
labels_: src/features/labels.txt
filename_train: processed_train
filename_test: processed_test
mlflow:
repo_owner: ronylpatil
repo_name: delivery-time-estm
train_model:
# {decision_tree: 'dt', random_forest: 'rf', gradient boost: 'gb', xgboost: 'xgb', lightgbm: 'lightgbm'}
model_to_train: lightgbm
model_name: model_lgbm # IMP PLEASE CHANGE NAME
decision_tree:
criterion: squared_error
max_depth: 35
min_samples_split: 40
min_samples_leaf: 200
max_features: sqrt
max_leaf_nodes: 80
random_forest:
n_estimators: 100
criterion: squared_error
max_depth: 10
min_samples_split: 40
min_samples_leaf: 150
max_features: 0.7
max_leaf_nodes: 50
oob_score: True
max_samples: 9000
gradient_boost:
loss: squared_error
learning_rate: 0.2
n_estimators: 100
subsample: 0.6
min_samples_split: 50
min_weight_fraction_leaf: 0.3
max_depth: 3
max_features: 0.7
max_leaf_nodes: 50
n_iter_no_change: 13
xgb:
booster: gbtree # {gbtree, gblinear, dart}
verbosity: 0 # {print message for debuging 0: None, 1: warning, 2: info, 3: debug}
eta: 0.3 # {learning rate}
gamma: 0 # {}
max_depth: 6 # {}
lambda: 1
alpha: 0
tune_model:
model_name: lgbm_tunned
n_trials: 100