-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyper_params.py
33 lines (30 loc) · 868 Bytes
/
hyper_params.py
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
import numpy as np
from bayesian_decision_tree.hyperplane_optimization import SimulatedAnnealingOptimizer
HP = {
"RandomForestClassifier": {
"n_estimators": [100, 500],
"criterion": ["gini", "entropy"],
"max_depth": [None, 10],
"class_weight": ["balanced"],
"n_jobs": [-1]
},
"XGBClassifier": {
"n_estimators": [100, 250],
"max_depth": [2, 3],
"n_jobs": [-1],
"use_label_encoder": [False],
},
"PerpendicularClassificationTree": {
"partition_prior": [0.9, 0.99, 0.8],
"prior": [np.ones(10)],
"prune": [True, False],
},
"LGBMClassifier": {
"boosting_type": ["gbdt", "dart"],
"max_depth": [-1, 3],
},
"DecisionTreeClassifier": {
"criterion": ["gini", "entropy"],
"splitter": ["best", "random"],
}
}