KNN hyperparameters optimisation - How not to show plots ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pierre Lonfat
am 25 Apr. 2018
Kommentiert: Pierre Lonfat
am 26 Apr. 2018
This doesn't work... Can you please help me how to write the option correctly ?
classificationKNN = fitcknn(...
predictors, ...
response, ...
'OptimizeHyperparameters','auto',...
'HyperparameterOptimizationOptions','Showplots',false);
Grazie mille !
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 25 Apr. 2018
Bearbeitet: Alan Weiss
am 25 Apr. 2018
The 'HyperparameterOptimizationOptions' value must be a structure. Like this:
myopts.ShowPlots = false;
myresult = fitcknn(...
predictors, ...
response, ...
'OptimizeHyperparameters','auto',...
'HyperparameterOptimizationOptions',myopts);
Alan Weiss
MATLAB mathematical toolbox documentation
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Least Squares 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!