Almost as great an evil, but a possible solution, is to allow those step
estimators to be retrievable by name through Pipeline.__getitem__... Only
less evil than __getattr__ because the name conflict issues go away.
On 20 February 2015 at 07:58, Gael Varoquaux <gael.varoqu...@normalesup.org>
wrote:
> On Wed, Feb 18, 2015 at 02:17:55PM -0800, Andy wrote:
> > Yeah, I think we want to support assigning values. But making the API
> > slimmer seems desirable. It is not that hard to get right, but
> > less requirements are nicer, I think.
>
> Honestly, removing get_params, set_params from our required API would be
> great. I am all with you.
>
> The question is: can we do this without breaking our pipeline delegation
> mechanism that we use to set parameters during cross-validation in a
> pipeline? I am not convinced that this is possible. Maybe a complex
> mechanism overridding __getattr__, or in other ways the attribute lookup
> in python, would do it, but that would be greater evil.
>
> G
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general