fitcsvm - setting sigma value?

5 visualizzazioni (ultimi 30 giorni)
Nicolas Jaccard
Nicolas Jaccard il 20 Feb 2015
Commentato: Nicolas Jaccard il 21 Feb 2015
Hi all,
I am currently using the built-in "fitcsvm" function to train a classifier and I am slightly confused by the documentation. I would like to compare the performance of linear and RBF kernels, which is easy enough. However, when I wanted to tune parameters, I could not find an obvious way of setting the RBF kernel sigma value. There is the "KernelScale" parameter but I am confused as to what it actually does as it can be set for linear and polynomial kernels as well?
I am missing something obvious in the documentation?
ps: this was also posted on Newsreader.
Thanks for your help.
Nicolas
  1 Commento
Nicolas Jaccard
Nicolas Jaccard il 21 Feb 2015
This was addressed in the post in Newsreader. In short, setting the KernelScale is equivalent to setting the RBF sigma.
Nicolas

Accedi per commentare.

Risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by