Is changing the 'KernelScale' in the fitcsvm equivalent to changing the sigma value?

2 ビュー (過去 30 日間)
monkey_matlab
monkey_matlab 2016 年 10 月 25 日
コメント済み: Akshar Agarwal 2017 年 6 月 23 日
Hello,
I am using this command:
cl3 = fitcsvm(X,Y,'KernelFunction','rbf', 'Standardize',true,'BoxConstraint',10,'ClassNames',[-1,1]);
to run the Gaussian Radial Bias kernel. I understand that the default value for sigma = 1. I was told that in order to change the sigma value, use this command:
cl3 = fitcsvm(X, Y, 'KernelFunction', 'rbf', 'KernelScale', 0.2, 'Standardize', true, 'BoxConstraint', 100, 'ClassNames', [-1,1]);
In this case, the sigma value can now be changed by modifying the 'KernelScale'. Is this a correct statement?
  3 件のコメント
Aniket Borkar
Aniket Borkar 2016 年 12 月 16 日
But where can we set the C and sigma value? Box constraint =100 and kernel scale =0.2. How does these settings can vary C and sigma?
Akshar Agarwal
Akshar Agarwal 2017 年 6 月 23 日
the C value is the box constraint. It is called box constraint because it sets bounds on the lagrange multipliers in the actual function.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics 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