2013/8/8 Gael Varoquaux <gael.varoqu...@normalesup.org>:
> On Thu, Aug 08, 2013 at 11:36:51AM -0400, Frédéric Bastien wrote:
>> The way I run the tests is to start python, import sklearn, then execute
>> sklearn.test().
>
> That not the right way to run the tests, and it hasn't been for a while.
> You should do 'nosetests -x sklearn' from the command line. In addition,
> you have a 0.13 installed.

To be more explicit: the method `test` used in the expression
`sklearn.test()` has been removed from the 0.14 release. This is why
Gael affirms that you still have 0.13 installed on your system.

Try:

  python -c "import sklearn; print(sklearn.__version__);
print(sklearn.__file__)"

to know which version is currently active on your system.

If you installed the previous version in various ways you might need
to uninstall them all prior to re-installing the version 0.14. To do
so run:

  pip uninstall scikit-learn

several times untill you get to the point where pip cannot find any
installed scikit-learn package on the system. The reinstall the 0.14
release.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to