2011/12/5 Alexandre Gramfort <[email protected]>:
>> One experiment I want to do involves plugging in dictionaries that
>> were learned with other methods.
>
> if you have the dictionaries then use a batch lasso or batch OMP with
> precomputed gram to get the coefficients. That will give you the full
> estimated model.

There are slightly higher level utility functions too here:

http://scikit-learn.org/dev/modules/generated/sklearn.decomposition.sparse_encode.html
http://scikit-learn.org/dev/modules/generated/sklearn.decomposition.sparse_encode_parallel.html

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to