added all autosklearn informed hyperparams
This commit is contained in:
parent
b5d29dd449
commit
8f8306d948
2 changed files with 141 additions and 7 deletions
|
@ -126,14 +126,21 @@ def MultClassPipeSKFCV(input_df, target, skf_cv, var_type = ['numerical', 'categ
|
|||
n_estimators = 1000 )
|
||||
rf2 = RandomForestClassifier(
|
||||
min_samples_leaf = 5
|
||||
, n_estimators = 1000
|
||||
, n_estimators = 100 #10
|
||||
, bootstrap = True
|
||||
, oob_score = True
|
||||
, **njobs
|
||||
, **rs
|
||||
, max_features = 'auto')
|
||||
xgb = XGBClassifier(**rs
|
||||
, verbosity = 0, use_label_encoder =False)
|
||||
xgb = XGBClassifier(**rs, verbosity = 0, use_label_encoder =False)
|
||||
|
||||
lda = LinearDiscriminantAnalysis()
|
||||
|
||||
mnb = MultinomialNB(**rs)
|
||||
|
||||
pa = PassiveAggressiveClassifier(**rs, **njobs)
|
||||
|
||||
sgd = SGDClassifier(**rs, **njobs)
|
||||
|
||||
models = [('Logistic Regression', log_reg)
|
||||
, ('Naive Bayes' , nb)
|
||||
|
@ -145,7 +152,11 @@ def MultClassPipeSKFCV(input_df, target, skf_cv, var_type = ['numerical', 'categ
|
|||
, ('Random Forest' , rf)
|
||||
, ('Naive Bayes' , nb)
|
||||
, ('Random Forest2' , rf2)
|
||||
, ('XGBoost' , xgb)]
|
||||
, ('XGBoost' , xgb)
|
||||
, ('LDA' , lda)
|
||||
, ('MultinomialNB' , mnb)
|
||||
, ('PassiveAggresive' , pa)
|
||||
, ('StochasticGDescent' , sgd)]
|
||||
|
||||
mm_skf_scoresD = {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue