Clear Filters
Clear Filters

change the rbf in SVM

3 views (last 30 days)
monkey_matlab on 23 Oct 2016
Commented: Hassan Raza on 15 Nov 2023
I am using the command
cl = fitcsvm(X,Y,'KernelFunction','rbf',...
in my program. How do I go about changing the 'rbf'?

Accepted Answer

Walter Roberson
Walter Roberson on 23 Oct 2016
Walter Roberson
Walter Roberson on 24 Oct 2016
Create your own RBF routine that has a sigma built in to it.
Or possibly the KernelScaling might be what is needed, but the documentation for how that all worked is long and it was not clear to me how the various aspects work together.
Hassan Raza
Hassan Raza on 15 Nov 2023
How to make the code implementation Multiquadric RBF on 1d heat equation.

Sign in to comment.

More Answers (1)

Jhon Pilataxi
Jhon Pilataxi on 9 Oct 2018
Edited: Walter Roberson on 9 Oct 2018


Find more on Graphics Object Programming 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!