File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments