For non-negative least-squares, you can use this:

http://docs.scipy.org/doc/scipy-0.7.x/reference/generated/scipy.optimize.nnls.html

We could also add an estimator that implements fit and predict in
scikit-learn (although the above function doesn't support sparse
matrices :$)

Mathieu

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to