change the rbf in SVM

1 vue (au cours des 30 derniers jours)
monkey_matlab
monkey_matlab le 23 Oct 2016
Commenté : Hassan Raza le 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'?

Réponse acceptée

Walter Roberson
Walter Roberson le 23 Oct 2016
  6 commentaires
Walter Roberson
Walter Roberson le 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 le 15 Nov 2023
How to make the code implementation Multiquadric RBF on 1d heat equation.

Connectez-vous pour commenter.

Plus de réponses (1)

Jhon Pilataxi
Jhon Pilataxi le 9 Oct 2018
Modifié(e) : Walter Roberson le 9 Oct 2018

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by