2013/7/9 Josh Wasserstein <ribonucle...@gmail.com>: > After running a SVC grid search with linear, rbf and sigmoid kernels, I got > the following: > [snip] > > note that the above says that the best estimator is a sigmoid with: > coef0 = 20.0855369232 > gamma=0.367879441171 > degree=3 ? > > I am confused about the above. As far as I understand sigmoids don't have a > degree: http://scikit-learn.org/dev/modules/svm.html#kernel-functions > > Why is GridSearchCV reporting a degree for a sigmoid? Note: I am using > 0.14-git (master branch)
Straight from the SVC docstring: degree : int, optional (default=3) Degree of kernel function. It is significant only in 'poly'. This parameter is ignored except when kernel="poly". (I just pushed a patch that makes this more explicit.) -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general