Fair enough; but it also enables:
from sklearn.all import Pipeline, GridSearchCV, LinearSVC, SelectKBest,
chi2, load_iris
On Mon, Dec 2, 2013 at 10:49 PM, Vlad Niculae <zephy...@gmail.com> wrote:
> Personally I'd rather be a bit frustrated but have tab completion and
> pyflakes warnings. I avoid using star imports even in hackish scripts.
> I assume the warning will create unnecessary confusion when people
> learn to use the star import first. These users will probably feel
> that the warning is a scikit-learn bug, or just completely ignore it
> (users don't read warnings), instead of changing their style.
>
> My 2c,
> Vlad
>
> On Mon, Dec 2, 2013 at 12:29 PM, Joel Nothman <joel.noth...@gmail.com>
> wrote:
> > I think it's great that scikit-learn keeps its objects to modular
> > namespaces, and doesn't litter one space as does numpy, pyplot, etc. Yet,
> > when writing quick scripts it can be frustrating to have to import from
> > pipeline, grid_search, linear_model and feature_extraction before I can
> mock
> > something up.
> >
> > On github, there's been a little discussion of shortcuts for interactive
> > use.
> >
> > Are others interested in being able to do something like 'from
> sklearn.all
> > import *' to import all names from all sklearn.*.__all__ into the current
> > namespace?
> >
> > I've implemented this at https://gist.github.com/jnothman/7748113,
> including
> > a warning that fires whenever the module is imported from somewhere other
> > than __main__.
> >
> > - Joel
> >
> >
> >
> ------------------------------------------------------------------------------
> > Rapidly troubleshoot problems before they affect your business. Most IT
> > organizations don't have a clear picture of how application performance
> > affects their revenue. With AppDynamics, you get 100% visibility into
> your
> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> > Pro!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Scikit-learn-general mailing list
> > Scikit-learn-general@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
> >
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general