Filter löschen
Filter löschen

change the rbf in SVM

4 Ansichten (letzte 30 Tage)
monkey_matlab
monkey_matlab am 23 Okt. 2016
Kommentiert: Hassan Raza am 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'?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Jhon Pilataxi
Jhon Pilataxi am 9 Okt. 2018
Bearbeitet: Walter Roberson am 9 Okt. 2018

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by