Getting Error, "kernel function is not a valid parameter name".
조회 수: 9 (최근 30일)
이전 댓글 표시
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
채택된 답변
Don Mathis
2019년 9월 3일
Type
help fitcsvm
and I think you will see that the argument is spelled
'KernelFunction'
not
'kernel_function'
.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!