On Tue, Dec 6, 2011 at 5:57 AM, Gael Varoquaux
<[email protected]> wrote:
> On Mon, Dec 05, 2011 at 11:21:01PM +0100, Andreas Mueller wrote:
>> What you do want is to "transform" the new data so that it
>> is coded using the specified dictionary.
>> I think this is exactly what the sparse encoding method that Olivier
>> referenced is doing.
>
> We would need an intermediate object that does the tranform and not the
> fit, and from which the diferent dictionary learning object could
> inherit.

This is actually exactly how the module is designed. 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. Then again, I
think that it should work to set the components_ by hand for any
dictionary learning object. Ian, could you send us the code that you
used when you noticed that this didn't work?

Best
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

Reply via email to