On Thu, Jan 19, 2012 at 10:48, Kenneth C. Arnold
<[email protected]> wrote:
> On Thu, Jan 19, 2012 at 3:05 AM, Olivier Grisel
> <[email protected]> wrote:
>> Rather than improving the error message when passing sparse arrays to
>> the dense impl of SVC we should refactor SVC to accept both dense and
>> sparse representation and use the right wrapper as already done for
>> SGD, LinearSVC, LogisticRegression and others.
>
> 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?
>
> Of course this should be brought up on a main scipy list, but I
> thought I'd first ask people who actually use the code  :)
>

This always burns me every time I use scipi.sparse--things are just
gratuitously different for no good reason (a*b instead of
scipy.sparse.dot(a,b), for example; not being able to have a sparse
vector, for another (you can have a 1 versus N sparse matrix, but not
a sparse vector), indexing, etc).


-- 
 - Alexandre

------------------------------------------------------------------------------
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

Reply via email to