2012/1/19 Kenneth C. Arnold <[email protected]>: > As an aside to those who use scipy's sparse matrices: do you find it > troublesome that scipy's sparse things behave like matrices instead of > like ndarrays? If dense matrices are a thin wrapper around dense > ndarrays, shouldn't sparse matrices be a thin wrapper around sparse > ndarrays? Or are there other considerations when working with sparse > data that match better with the matrix API anyway?
Yep, scipy.sparse is a pain to use because it follows the np.matrix conventions and lacks a lot sensible operations, like element-wise exponentiation. Still, I've found it indispensable so far (I haven't tried PySparse yet as I stated in the other email). You have my moral support if you're going to propose sparse arrays to the Scipy community ;) -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
