Error when trying to do 'Hyperparameter Optimization' using Parallel Computing
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jose Marques
el 23 de Oct. de 2018
Comentada: Alan Weiss
el 23 de Oct. de 2018
Hello,
I am trying to optimize the function fitrsvm.
But when I set 'true' to the 'UseParallel' property, I am getting a error.
This is the code:
smv_model = fitrsvm(X,y,...
'OptimizeHyperparameters','all',...
'HyperparameterOptimizationOptions',...
struct('UseParallel',true));
The error message:
Error using classreg.learning.paramoptim.parseFitoptimizingArgs>validateAndCompleteStructFields (line 171)
Unrecoginized field passed in 'HyperparameterOptimizationOptions' struct: UseParallel.
How can I solve this?
Thanks.
0 comentarios
Respuesta aceptada
Alan Weiss
el 23 de Oct. de 2018
Do you have a Parallel Computing Toolbox license? If so, then please tell us what version of MATLAB you are using.
Alan Weiss
MATLAB mathematical toolbox documentation
2 comentarios
Alan Weiss
el 23 de Oct. de 2018
Sorry, as the Release Notes show, parallel hyperparameter optimization was added to Bayesian optimization in R2017b.
Alan Weiss
MATLAB mathematical toolbox documentation
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!