Might sound like a drastic step, but I would suggest a) making the functions private and deprecating the public interface. I think this would be easier on "new" users, and more experienced people would still be able to use them on own risk. And over time, some of those functions could optionally be made "public" with a more "consistent interface." But I think that this is really a big project and would take a lot of efforts. Maybe, alternatively, they could be wrapped in some object-oriented API interface? Anyways, I would suggest making them private for now and worry about the "consistent" interface some time later -- maybe someone comes up with a brilliant idea some time :) Best, Sebastian
> On Sep 9, 2015, at 2:10 PM, Andreas Mueller <t3k...@gmail.com> wrote: > > Hi all. > A api issue that has been annoying me for some while is that we don't > have common tests for functions. > That means that incompatibilities are only fixed if someone points them > out in an issue, and API changes like > https://github.com/scikit-learn/scikit-learn/pull/5152 > > I see two possible ways forward: > a) Make the functions private and deprecate the public interface, like > k_means, lars_path, .... > b) add common tests. > > b) means that they all need to have a consistent interface. > Vighnesh said he would work on this, but I'm not sure it will work and > I'm not entirely sure how hard it is. > Some functions are not algorithms, but ``train_test_split`` or metrics > etc which are tested separately, > so we might need to blacklist modules etc. > > I want to make sure that this is the way we want to go before putting > any serious effort into it. > > Best, > Andy > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Scikit-learn-general mailing list > Scikit-learn-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general