Skip to content

Commit 10c2b39

Browse files
committed
Updated model yaml with hyperparameter optimization results
1 parent 9eef54c commit 10c2b39

9 files changed

Lines changed: 41 additions & 63 deletions

File tree

scripts/config/model/catboost.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: catboost
22
params:
3-
iterations: 1000
4-
learning_rate: 0.1
5-
depth: 6
6-
l2_leaf_reg: 3
3+
depth: 3
4+
iterations: 120
5+
l2_leaf_reg: 13.33755638154388
6+
learning_rate: 0.055128733444030256
77
model_size_reg: 0.5
88
rsm: 1
99
loss_function: Logloss
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: extra_trees
22
params:
3-
n_estimators: 100
4-
max_depth: null
5-
min_samples_split: 2
6-
min_samples_leaf: 1
3+
bootstrap: false
4+
max_depth: 12
75
max_features: sqrt
6+
min_samples_leaf: 2
7+
min_samples_split: 6
8+
n_estimators: 172
Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
name: hist_gradient_boosting
22
params:
3-
learning_rate: 0.1
4-
max_iter: 100
5-
max_leaf_nodes: 31
6-
max_depth: null
7-
min_samples_leaf: 20
8-
l2_regularization: 0.0
9-
max_bins: 255
10-
categorical_features: null
11-
monotonic_cst: null
12-
warm_start: false
13-
early_stopping: auto
14-
scoring: loss
15-
validation_fraction: 0.1
3+
l2_regularization: 0.9202038272323202
4+
learning_rate: 0.027864170616690123
5+
max_iter: 190
6+
max_leaf_nodes: 28
7+
min_samples_leaf: 42
168
n_iter_no_change: 10
179
tol: 1e-07

scripts/config/model/knn.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: knn
22
params:
3-
n_neighbors: 5
4-
weights: uniform
5-
algorithm: auto
6-
leaf_size: 30
3+
n_neighbors: 9
74
p: 2
8-
metric: minkowski
5+
weights: uniform

scripts/config/model/lightgbm.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: lightgbm
22
params:
3-
boosting_type: gbdt
4-
objective: binary
5-
metric: binary_logloss
6-
num_leaves: 31
7-
learning_rate: 0.05
8-
feature_fraction: 0.9
9-
bagging_fraction: 0.8
10-
bagging_freq: 5
11-
verbose: 0
3+
bagging_fraction: 0.8677126844571269
4+
bagging_freq: 1
5+
feature_fraction: 0.7937635704745494
6+
learning_rate: 0.02002821098423169
7+
min_child_samples: 43
8+
n_estimators: 265
9+
num_leaves: 45
10+
reg_alpha: 0.17943130140820815
11+
reg_lambda: 0.10154626671341846
1212
min_data_in_leaf: 6
1313
min_sum_hessian_in_leaf: 11
1414
n_estimators: 100
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: logistic_regression
22
params:
3-
penalty: l2
4-
C: 1.0
5-
solver: lbfgs
6-
max_iter: 100
3+
C: 0.2895667317295911
4+
penalty: l1
5+
solver: liblinear
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: random_forest
22
params:
3-
n_estimators: 100
4-
max_depth: null
5-
min_samples_split: 2
6-
min_samples_leaf: 1
7-
max_features: auto
3+
max_depth: 11
4+
max_features: log2
5+
min_samples_leaf: 4
6+
min_samples_split: 5
7+
n_estimators: 109

scripts/config/model/svm.yaml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
name: svm
22
params:
3-
C: 1.0
4-
kernel: rbf
5-
degree: 3
3+
C: 0.9175201343352734
64
gamma: scale
7-
coef0: 0.0
8-
shrinking: true
9-
probability: false
10-
tol: 0.001
11-
cache_size: 200
12-
class_weight: null
13-
verbose: false
14-
max_iter: -1
15-
decision_function_shape: ovr
16-
break_ties: false
5+
kernel: rbf

scripts/config/model/xgboost.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: xgboost
22
params:
3-
n_estimators: 179
3+
colsample_bytree: 0.7351421288846683
4+
learning_rate: 0.07926004251101824
45
max_depth: 8
5-
learning_rate: 0.1336674424474196
6-
subsample: 0.7282263389921348
7-
colsample_bytree: 0.8896012201308952
8-
reg_alpha: 0.07919227245102388
9-
reg_lambda: 0.36469616999655735
6+
n_estimators: 96
7+
reg_alpha: 0.06779661113890172
8+
reg_lambda: 9.088250624476464
9+
subsample: 0.9437099479618614
1010
random_state: 42
1111
n_jobs: -1

0 commit comments

Comments
 (0)