On Dec 6, 2011, at 11:04 , Gael Varoquaux wrote: > On Tue, Dec 06, 2011 at 09:41:56AM +0200, Vlad Niculae wrote: >> This is actually exactly how the module is designed. > > Great design! I should have looked at it closer before writing my mail. > >> We have BaseDictionaryLearning which only implements transforms. I >> didn't try but you should be able to instantiate a >> BaseDictionaryLearning object, set its components_ manually, and use >> its transform. > > Maybe we need a subclass of this object, for instance 'sparse_coder' that > takes as __init__ argument the dictionnary to be used. Sounds good, this way it can be used in pipelines. I'll make a pull request.
Vlad > G > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
