change the rbf in SVM
4 views (last 30 days)
Show older comments
monkey_matlab
on 23 Oct 2016
Commented: Hassan Raza
on 15 Nov 2023
Hello,
I am using the command
cl = fitcsvm(X,Y,'KernelFunction','rbf',...
'BoxConstraint',Inf,'ClassNames',[-1,1]);
in my program. How do I go about changing the 'rbf'?
0 Comments
Accepted Answer
Walter Roberson
on 23 Oct 2016
Just change it to your desired value.
6 Comments
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
on 15 Nov 2023
How to make the code implementation Multiquadric RBF on 1d heat equation.
More Answers (1)
Jhon Pilataxi
on 9 Oct 2018
Edited: Walter Roberson
on 9 Oct 2018
Here someone said how to change:
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!