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 <[email protected]>
wrote:
> 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 want to use it?
>
>
>
> Thank you,
>
>
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
--
Godspeed,
Manoj Kumar,
Intern, Telecom ParisTech
Mech Undergrad
http://manojbits.wordpress.com
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general