Bayesian optimization with fixed 'Method' for fitcensemble
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to optimize an ensemble classification model with Bayesian optimization.
cvpt = cvpartition(Y_train , "KFold" , 5)
opt = struct("CVPartition" , cvpt , "MaxObjectiveEvaluations" , 20)
Mdl = fitcensemble(X_train , Y_train , "OptimizeHyperparameters", "auto" , "HyperparameterOptimizationOptions" , opt)
However, I want to use 'AdaBoostM2' as 'Method' and optimize all the other hyperparameters. How do I specify this?
0 Kommentare
Antworten (1)
Alan Weiss
am 19 Jan. 2022
Bearbeitet: Alan Weiss
am 19 Jan. 2022
Mdl = fitcensemble(X_train , Y_train ,...
"OptimizeHyperparameters", {'NumLearningCycles','LearnRate'} ,...
"HyperparameterOptimizationOptions" , opt,...
"Method","AdaBoostM2")
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Siehe auch
Kategorien
Mehr zu Classification Ensembles finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!