could anyone help me how to solve the error in matlab 2015a

2 Ansichten (letzte 30 Tage)
jaah navi
jaah navi am 19 Dez. 2019
Kommentiert: Adam Danz am 19 Dez. 2019
when i run the command line
Md1=fitcsvm(X_train_w_best_features,y_train,'kernelFunction','rbf',...
'OptimizeHyperparameters','auto',...
'HyperparameterOptimizationOptions',struct('AcquisitionFunctionName',...
'expected-improvement-plus','ShowPlots',true))
I am getting error stating OptimizeHyperparameters is not a valid parameter name.I think it is of version 2015a.But the command line gets executed in 2018a.
Could anyone help me how to execute in 2015a.
  1 Kommentar
Adam Danz
Adam Danz am 19 Dez. 2019
In the current documentation, if you look at the name-value pair options for fitcsvm() you'll notice a OptimizeHyperparameters option.
Now check the documentation for the same function for r2015a. Here is a list of archived documentation links.
  1. Select the Matlab release
  2. search for fitcsvm
  3. Within the fitcsvm page, search for "OptimizeHyperparameters"
If that option is no where on the page, that means it wasn't available in that relase. If that option is on the page, compare that section of documentation to the current documentation.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by