On 08/29/2013 01:22 PM, Olivier Grisel wrote: > 2013/8/29 Maheshakya Wijewardena <pmaheshak...@gmail.com>: >> I've had a look at Gilles s previous pull request. My intention for now is >> get an exposure to development on Scikit-learn, so that I can contribute >> later with others. Thought this bagging would be a suitable point to start. >> I'm passably experienced with git but what I don't get is testing process. >> So If I want to extend and contribute Scikit-learn I have to do tests in the >> above mentioned usual procedure, right? > To run a single test on a specific module of scikit-learn you can use: > > nosetests path/to/file.py:the_test_function > > for instance you can try: > > nosetests -s -v sklearn/ensemble/tests/test_forest.py:test_random_hasher > > -s and -v display more verbose output. More precisely -s enters "interactive" mode, meaning stdout is written to the output. In particular that makes setting debug traces possible (which I discovered only very late).
------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general