How can i change the kernel in SVM classification

조회 수: 2 (최근 30일)
Tsalsabilla Winny Junika
Tsalsabilla Winny Junika 2019년 5월 29일
By using linear kernel I got the result using svmtrain() and svmclassify() function. But the result obtained is not so accurate. When I used rbf_kernel and polynomial I got an error as follows. Please help me how to use parameters with example...
svmStruct = svmtrain(X(P.training,:),Y(P.training),'showplot',true);
(I know the svmStruct could be change with :
SVMStruct = svmtrain(X(P.test,:),Y(P.test),'Kernel_Function', 'polynomial', 'Polyorder', 3);
C = svmclassify(svmStruct,X(P.training,:),'showplot',true);
but, what about the C??? Because i've tried so many times but still error :(
Can you guys help me? thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by