View Single Post
#3
09-02-2012, 01:27 AM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,477
Re: meaning of gamma in polynomial kernel

Quote:
 Originally Posted by Andrs In libsvm the polynomial kernel is defined in the following way: (gamma*u'*v + coef0)^degree). What is the meaning of gamma in the poly kernel? In our exercise the polynomial kernel only contains the parameters coef0 and degree (and C). There is no reference to a gamma parameter. I have guessed the value 1 to gamma (no effect when multiplying the inner product) but I am not sure because its purpose is not clear for me in the poly case. If we do not assign any values, the default value given by libsvm is 1/# features. In our case,it will be 1/2. Any clarifications about this gamma in poly is appreciated
As mentioned on slide 6 of Lecture 15, sometimes the polynomial kernel is defined with constants inside the expression that balance the relative value of the coefficients in the equivalent transformation. The slide uses different notation from that of libsvm. For our purposes, these constants are set to 1 (both gamma and coeff0 in the notation you mention).

Edit: I wrote this before I saw the above reply.
__________________
Where everyone thinks alike, no one thinks very much