필터 지우기
필터 지우기

Gaussian kernel scale for RBF SVM

조회 수: 20 (최근 30일)
vince65201
vince65201 2017년 3월 8일
댓글: Walter Roberson 2019년 6월 1일
Hi All, I'm using RBF SVM from the classification learner app (statistics and machine learning toolbox 10.2), and I'm wondering if anyone knows how Matlab came up with the idea that the kernel scale is proportional to the sqrt(P) where P is the number of predictors. Additionally, it says "The software divides all elements of the predictor matrix X by the value of KernelScale", does this mean the kernel scale is simply 1/sigma^2? source: https://www.mathworks.com/help/stats/templatesvm.html#input_argument_namevalue_KernelScale. Thanks!

채택된 답변

Akira Agata
Akira Agata 2017년 3월 9일
Assuming the RBF kernel function with scaling parameter (gamma) as follows:
Then, the SVM model should be set using "KernelScale" like this.
mdlSVM = fitcsvm(..., 'KernelScale', 1/sqrt(gamma));
  댓글 수: 7
Tsalsabilla Winny Junika
Tsalsabilla Winny Junika 2019년 6월 1일
what about the svm classify?

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by