Is changing the 'KernelScale' in the fitcsvm equivalent to changing the sigma value?
7 views (last 30 days)
Show older comments
monkey_matlab on 25 Oct 2016
Commented: Akshar Agarwal on 23 Jun 2017
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?
Akshar Agarwal on 23 Jun 2017
the C value is the box constraint. It is called box constraint because it sets bounds on the lagrange multipliers in the actual function.
Find more on Time Series in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!