`sparse_std` isn't intended for CSR, and it isn't intended for public use,
really. It *will* work for CSR, but only if you swap the shape parameters,
after which it will give the stdev of the other axis.


On 25 March 2014 06:56, Lars Buitinck <[email protected]> wrote:

> 2014-03-24 20:46 GMT+01:00 Manoj Kumar <[email protected]>:
> > It crashes always when n_samples != n_features for a CSR. Do you think
> this
> > is a bug?
>
> Retorical question? :) Seems like a pretty nasty bug to me. There's no
> particular reason why sparse matrices should be square.
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to