fitcsvm - setting sigma value?

4 views (last 30 days)
Nicolas Jaccard
Nicolas Jaccard on 20 Feb 2015
Commented: Nicolas Jaccard on 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 Comment
Nicolas Jaccard
Nicolas Jaccard on 21 Feb 2015
This was addressed in the post in Newsreader. In short, setting the KernelScale is equivalent to setting the RBF sigma.
Nicolas

Sign in to comment.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!