Re: [Scikit-learn-general] Differences between SVC(kernel='linear') and LinearSVC

2012-08-21 Thread Alexis Mignon
n with a quick reading. 2012/8/21 Andreas Mueller > Hi Alexis. > That must be it! Crazy. > We should definitely point this out in the docs somewhere. > Not sure how I overlooked that. > Thanks a lot! > > Andy > > > On 08/21/2012 10:52 AM, Alexis Mignon wrote: > >

Re: [Scikit-learn-general] Differences between SVC(kernel='linear') and LinearSVC

2012-08-21 Thread Alexis Mignon
Another big difference is that the default loss function in Linear SVC is quadractic with distance to the margin (loss='l2') while it is linear in SVC. 2012/8/12 Mathieu Blondel > > > On Sun, Aug 12, 2012 at 6:53 PM, Andreas Mueller > wrote: > >> Does any one have an explanation for that? >> Bt

Re: [Scikit-learn-general] Additive Chi2 Kernel Approximation

2012-06-13 Thread Alexis Mignon
Actually for the chi2 kernel 2xy/(x+y) you can do a prolongation by continuity at 0: lim_(x->0) chi2(x,0) = 0 And you should also do it for the feature map so phi(0) = 0. so a simple test for (x==0) will keep the feature map correct and keep the sparsity 2012/5/30 Andreas Mueller > Hi Philipp.