-
Notifications
You must be signed in to change notification settings - Fork 0
/
params.yaml
109 lines (99 loc) · 2.27 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
base:
log_level: DEBUG
random_state: 121
config: config.yaml
deploy:
verbose: false
data_dir: data/
bucket: tof-output
model_path: models/model.joblib
model_type: classifier
cleanup: false
overwrite: false
version: v27
postprocess:
remove_noise: true
ttc_thresh: 0.2
kernel: 3
data_load:
download_data: false
bucket_name: restoration-monitoring
folder_prefix: plantation-mapping/data/train/
local_prefix: data/
ttc_feats_dir: train-features-ard/
create_labels: false
ceo_survey:
- v08
- v14
- v15
- v19
- v20
- v21
- v22
data_condition:
total_feature_count: 94
classes: 4
ard_subsample: 4
subset_fraction: 0.1 # set to 1.0 for all data
test_split: 20
train_split: 80
val_split: 25
modelData_path: data/train_params/modelData.pkl
select:
select_features: False # Update
max_features: 40
selected_features_path: data/train_params/selected_features.json
tune:
tune_hyperparameters: False # Update
n_iter: 25
cv: 3
plot: False
verbose: False
estimators:
cat:
param_grid:
iter_min: 600
iter_max: 1300
iter_step: 200
depth_min: 6
depth_max: 12
depth_step: 4
leaf_reg_min: 2
leaf_reg_max: 30
leaf_reg_step: 4
min_data_leaf_min: 800
min_data_leaf_max: 3000
min_data_leaf_step: 6
learn_rate:
- .02
- .03
- .04
- .05
best_params: data/train_params/best_params.json
train:
use_best_params: True # Update
model_dir: models/
model_name: models/model.joblib
estimator_name: cat
cv: 3
tuning_metric: balanced_accuracy
testing_metrics: accuracy balanced_accuracy precision recall f1 roc_auc log_loss
estimators:
cat:
use_class_weights: true
param_grid:
loss_function: MultiClass
random_state: 121
logging_level: Silent
depth: 10
iterations: 1200
l2_leaf_reg: 20
min_data_in_leaf: 1680
learning_rate: 0.02
# early_stopping_rounds: 10
evaluate:
metrics_file: src/evaluation/metrics
cm_image: src/evaluation/confusion_matrix
cm_data: src/evaluation/confusion_matrix_data
train_progress: src/evaluation/train_progress
tile_id_loc: data