Re: [Scikit-learn-general] gridsearch with sparsematrices

2014-09-11 Thread Manoj Kumar
This is simply due to the fact that centering a sparse matrix (that is subtracting from its mean), would make it dense, and there would be no point of it being sparse in the first place. On Thu, Sep 11, 2014 at 9:09 PM, Pagliari, Roberto wrote: > This is what I’m getting when using sparse matric

[Scikit-learn-general] gridsearch with sparsematrices

2014-09-11 Thread Pagliari, Roberto
This is what I'm getting when using sparse matrices with grid search: Cannot center sparse matrices: pass `with_mean=False` instead. See docstring for motivation and alternatives. If I set with_mean=False, does that mean the data will not be scaled with respect to the mean? If so, why would one