What is the right formula for the RBF 'KernelScale' of fitcsvm?

조회 수: 6 (최근 30일)
Sofiane Kharbech
Sofiane Kharbech 2018년 5월 4일
편집: Ayush Anand 2024년 1월 12일
RBF kernel function is defined as exp(-1/(2*sigma^2) ....
The option 'KernelScale' of the Matlab function fitcsvm, does it refer to sigma, sigma^2, 2*sigma^2, or sqrt(2)*sigma ?

채택된 답변

Ayush Anand
Ayush Anand 2024년 1월 12일
편집: Ayush Anand 2024년 1월 12일
Hi,
The RBF kernel function is defined as :
The "KernelScale" option in the function "fitcsvm" refers to σ (sigma) in the above equation.
You can read more through the definition of parameters of the "fitcsvm" function here:
Hope this helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by