[R] Polynomial kernel in SVM in e1071 package

From: Wuming Gong <wuming.gong_at_gmail.com>
Date: Fri 07 Jul 2006 - 17:32:10 EST


Dear list,

In some places (for example,
http://en.wikipedia.org/wiki/Support_vector_machine) , the polynomail kernel in SVM is written as (u'*v + 1)^d, while in the document of svm() in e1071 package, the polynomial kernel is written as (gamma*u'*v + coef0)^d. I am a little confused here:

When doing parameter optimization (grid search or so) for polynomial kernel, does it need to tune four parameters, gamma, coef0, C and degree, or just two of them, C and degree (and fixing gamma to 1 and coef0 = 1)?

Thanks,

Wuming



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 07 17:43:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 07 Jul 2006 - 22:15:47 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.