Getting Error, "kernel function is not a valid parameter name".
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hassan Ashraf
am 29 Aug. 2019
Beantwortet: Don Mathis
am 3 Sep. 2019
I am trying to train a SVM Classifier but getting qn error in this line.
svmStruct = fitcsvm(trSets,trGroup, 'HyperparameterOptimizationOptions',struct('showplot',true),'kernel_function', 'linear','KernelScale',1);
Can anyone point out, what is wrong with this line of code?
2 Kommentare
Akzeptierte Antwort
Don Mathis
am 3 Sep. 2019
Type
help fitcsvm
and I think you will see that the argument is spelled
'KernelFunction'
not
'kernel_function'
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!