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 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_402347
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_402347
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_414080
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_414080
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_463989
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/308988-is-changing-the-kernelscale-in-the-fitcsvm-equivalent-to-changing-the-sigma-value#comment_463989
Sign in to comment.