KNN hyperparameters optimisation - How not to show plots ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Pierre Lonfat
el 25 de Abr. de 2018
Comentada: Pierre Lonfat
el 26 de Abr. de 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 comentarios
Respuesta aceptada
Alan Weiss
el 25 de Abr. de 2018
Editada: Alan Weiss
el 25 de Abr. de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre Linear Least Squares en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!