![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1588986/image.png)
What is the right formula for the RBF 'KernelScale' of fitcsvm?
7 ビュー (過去 30 日間)
古いコメントを表示
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 ?
0 件のコメント
採用された回答
Ayush Anand
2024 年 1 月 12 日
編集済み: Ayush Anand
2024 年 1 月 12 日
Hi,
The RBF kernel function is defined as :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1588986/image.png)
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File 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!