fitcsvm - setting sigma value?

9 次查看(过去 30 天)
Nicolas Jaccard
Nicolas Jaccard 2015-2-20
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 个评论
Nicolas Jaccard
Nicolas Jaccard 2015-2-21
This was addressed in the post in Newsreader. In short, setting the KernelScale is equivalent to setting the RBF sigma.
Nicolas

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by