change the rbf in SVM

6 visualizzazioni (ultimi 30 giorni)
monkey_matlab
monkey_matlab il 23 Ott 2016
Commentato: Hassan Raza il 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'?

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

Jhon Pilataxi
Jhon Pilataxi il 9 Ott 2018
Modificato: Walter Roberson il 9 Ott 2018

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by