[Scikit-learn-general] Help with line in example

2014-02-15 Thread Adam Hughes
Hello, I'm trying to follow the spectral clustering example and am not very skilled in machine learning. From reading about normalized cuts, I understand most of what is going on, but am confused particularly in this

Re: [Scikit-learn-general] Query with fit_intercept param

2014-02-15 Thread Vlad Niculae
On 15/2/2014 10:17 , Manoj Kumar wrote: > Thanks Vlad, > > Can you tell me how to take care of that? What exactly do you mean by "take care of that"? Like Mathieu said, it probably doesn't matter too much in terms of the final score. Vlad > > On Sat, Feb 15, 2014 at 2:10 PM, Vlad Niculae

Re: [Scikit-learn-general] Query with fit_intercept param

2014-02-15 Thread Mathieu Blondel
It is usually thought that the intercept / bias term should not be penalized since it is only used to shift the decision surface to account for the data mean. In my experience, penalizing the intercept term or not makes no difference for high-dimensional problems. It sometimes make a difference for

Re: [Scikit-learn-general] Query with fit_intercept param

2014-02-15 Thread Manoj Kumar
Thanks Vlad, Can you tell me how to take care of that? On Sat, Feb 15, 2014 at 2:10 PM, Vlad Niculae wrote: > Hi Manoj, > > In the first example, the intercept is not regularized, hence the > difference. > > Vlad > On Feb 15, 2014 8:54 AM, "Manoj Kumar" > wrote: > >> Hello >> >> I have a quer

Re: [Scikit-learn-general] Query with fit_intercept param

2014-02-15 Thread Vlad Niculae
Hi Manoj, In the first example, the intercept is not regularized, hence the difference. Vlad On Feb 15, 2014 8:54 AM, "Manoj Kumar" wrote: > Hello > > I have a query with fit_intercept parameter in most of the estimators. > > When we have a linear model like w0 + w1*x1 + w2*x2 + .. I'm assuming