Fitcsvm kernel scale on polynomial

조회 수: 13 (최근 30일)
Laura White
Laura White 2018년 1월 27일
I am looking at how the 'Kernel Scale' parameter changes the output function of your hyperplane when using a polynomial kernel. I know when using the gaussian kernel the kernel scale is just gamma in the kernel (i.e. kernel = gamma*||x-y||^2). However I cannot seem to find an answer for it when it comes to the polynomial kernel. Here were some of my attempts to find how the polynomial kernel is changed, but all did not work:
  • (1+scale*xy')^d
  • (1+1/scale*xy')^d
  • (scale+scale*xy')^d
  • (1/scale+1/scale*xy')^d
  • (1+1/sqrt(scale)*xy')^d
  • scale*(1+xy')^d
All the above were tested by plotting the appropriate hyperplane. Any help is much appreciated.

채택된 답변

Laura White
Laura White 2018년 1월 27일
For all who might have the same question I found the solution. The kernel scale works for the polynomial in the following way:
(1+1/scale^2*xy')^d
It took a lot of guessing to find this, so I hope it helps someone.
  댓글 수: 1
Jose Luis Villaescusa Nadal
Jose Luis Villaescusa Nadal 2021년 1월 10일
Can you please share how you obtained the hyperplane function of the polynomial csv?
Thanks a lot!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Platform and License에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by