Borrar filtros
Borrar filtros

change the rbf in SVM

2 visualizaciones (últimos 30 días)
monkey_matlab
monkey_matlab el 23 de Oct. de 2016
Comentada: Hassan Raza el 15 de Nov. de 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'?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

Jhon Pilataxi
Jhon Pilataxi el 9 de Oct. de 2018
Editada: Walter Roberson el 9 de Oct. de 2018

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by