Skip to content

Commit 97f7811

Browse files
Create config.py
1 parent 6f31cae commit 97f7811

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

DimRed/config.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
from DimRed import *
2+
3+
4+
xgb_config = {
5+
'objective': 'multi:softmax',
6+
'n_estimators': 100,
7+
'max_depth': 3,
8+
'learning_rate': 0.1,
9+
# 'subsample': 0.8,
10+
'seed': 42,
11+
'tree_method': 'gpu_hist',
12+
"num_class": 10
13+
}
14+
lgb_config = {
15+
'objective': 'multiclass',
16+
# 'num_leaves': 31,
17+
'learning_rate': 0.05,
18+
# 'max_depth': -1,
19+
# 'subsample': 0.8,
20+
'metric': 'multi_logloss',
21+
'seed': 42,
22+
'device': 'gpu',
23+
"num_class": 10,
24+
"verbose": -1
25+
}
26+
sklearn_config = {
27+
LogisticRegression: {"max_iter": [100]},
28+
SVC: {"kernel": ["rbf"], "probability": [True]},
29+
DecisionTreeClassifier: {"max_depth": [3]},
30+
RandomForestClassifier: {"n_estimators": [100, 1000]},
31+
KNeighborsClassifier: {'n_neighbors': [3]}
32+
}

0 commit comments

Comments
 (0)