fitcensemble optimize hyperparameters without showing plots
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Inna Pelloso
le 27 Avr 2022
Commenté : Inna Pelloso
le 23 Août 2023
Hi,
I am fitting an ensemble of learners for classification, and optimizing the hyperparamers (using the 'auto' selection):
fitcensemble(X,Y,'OptimizeHyperparameters','auto')
This works correctly. How can I run the same command, while suppressing all the optimization plots? I am trying the following, but without success
fitcensemble(X,Y,'OptimizeHyperparameters','auto', struct('ShowPlots',0))
Any help would be apprecaited! Thank you,
IP
0 commentaires
Réponse acceptée
Walter Roberson
le 27 Avr 2022
fitcensemble(X,Y,'OptimizeHyperparameters','auto', 'HyperparameterOptimizationOptions', struct('ShowPlots',0))
3 commentaires
michael dupin
le 23 Août 2023
Thank you indeed!
Just putting it out there: if you already have a struct in your command, just add the pair ShowPlots and 0 within it and it works like a charm!
Mdl_0 = fitcensemble(train_input,train_outcomedata, 'OptimizeHyperparameters','auto', 'Learners',t,'HyperparameterOptimizationOptions', struct('AcquisitionFunctionName', 'expected-improvement-plus','ShowPlots',0));
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Classification Ensembles dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!