I'm trying to run an epsilon regression model, and am comparing the results
between e1071 and kernlab.  I believe that I'm calling the ksvm and svm
functions the same way but I'm getting different results:

library(e1071); library(kernlab)
ksvm(x=1:100, y=(1:100)/5, type="eps-svr", kpar=list(sigma=1))
svm(x=1:100, y=(1:100)/5, type="eps-regression", gamma=0.5)

I get a different number of support vectors and different fitted values.

Am I doing something wrong?

Thanks,
Sean

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to