I want to use an SVM implementation in R to do some regression. I tried using svm
from e1071
already but I am limited by the kernel functions there. So I moved on to ksvm
from kernlab
. But I have a major disadvantage that a tuning function has not been provided in kernlab
(like tune.svm
in e1071
). Can someone explain how do I tune the parameters for different kernels there?
PS. I want to particularly use the rbfdot
kernel. So if at least someone can help me understand how to tune sigma, I'd be extremely grateful.
PPS. I'm completely aware that the "automatic"
value for kpar can be used "to calculate a good sigma". But I need something more tangible and more along the lines of tune.svm
.