フィルターのクリア

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

2 ビュー (過去 30 日間)
Jose Marques
Jose Marques 2018 年 10 月 23 日
コメント済み: Alan Weiss 2018 年 10 月 23 日
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 件のコメント
Jose Marques
Jose Marques 2018 年 10 月 23 日
Yes, the version is 2017a.
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 Center および File ExchangeSupport Vector Machine Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by