Error when trying to do 'Hyperparameter Optimization' using Parallel Computing

조회 수: 1 (최근 30일)
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.

채택된 답변

Alan Weiss
Alan Weiss 2018년 10월 23일
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
Alan Weiss
Alan Weiss 2018년 10월 23일
Sorry, as the Release Notes show, parallel hyperparameter optimization was added to Bayesian optimization in R2017b.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Support Vector Machine Regression에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by