On Fri, Feb 20, 2015 at 08:38:22AM +1100, Joel Nothman wrote: > 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.
This reminds me of traits. It's a beautiful set of ideas, that tackles the core of the problem, which is a delegation pattern in Python. The problem of creating such a framework is that it surprises the programmer, because it changes the semantics of objects in a fairly implicit way. In my experience, it is a bad idea: in the long run, the costs, in terms of lost or confused contributors, exceed the benefits. Gaƫl ------------------------------------------------------------------------------ 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