When I run: nosetests sklearn --exe
I get:
......../System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/lib/utils.py:1132:
DeprecationWarning: The compiler package is deprecated and removed in Python
3.x.
import compiler
............S........................................../Library/Python/2.7/site-packages/sklearn/manifold/spectral_embedding.py:225:
UserWarning: Graph is not fully connected, spectral embedding may not works as
expected.
warnings.warn("Graph is not fully connected, spectral embedding"
...........SS....../Library/Python/2.7/site-packages/sklearn/datasets/tests/test_base.py:124:
UserWarning: Could not load sample images, PIL is not available.
warnings.warn("Could not load sample images, PIL is not available.")
.../Library/Python/2.7/site-packages/sklearn/datasets/tests/test_base.py:145:
UserWarning: Could not load sample images, PIL is not available.
warnings.warn("Could not load sample images, PIL is not available.")
./Library/Python/2.7/site-packages/sklearn/datasets/tests/test_base.py:161:
UserWarning: Could not load sample images, PIL is not available.
warnings.warn("Could not load sample images, PIL is not available.")
.....SS................................................S.........................................................S.........................................SSS....................../Library/Python/2.7/site-packages/sklearn/externals/joblib/test/test_func_inspect.py:122:
UserWarning: Cannot inspect object <functools.partial object at 0x10a956998>,
ignore list will not work.
nose.tools.assert_equal(filter_args(ff, ['y'], (1, )),
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FF.......................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................
...............................................................................................................................................................................................SSS....S....S...................................................................................................................................
======================================================================
FAIL: sklearn.feature_extraction.tests.test_image.test_connect_regions
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/Library/Python/2.7/site-packages/sklearn/feature_extraction/tests/test_image.py",
line 63, in test_connect_regions
assert_equal(ndimage.label(mask)[1], cs_graph_components(graph)[0])
AssertionError: 777 != 767
======================================================================
FAIL: sklearn.feature_extraction.tests.test_image.test_connect_regions_with_grid
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/Library/Python/2.7/site-packages/sklearn/feature_extraction/tests/test_image.py",
line 70, in test_connect_regions_with_grid
assert_equal(ndimage.label(mask)[1], cs_graph_components(graph)[0])
AssertionError: 777 != 767
----------------------------------------------------------------------
Ran 1598 tests in 57.619s
FAILED (SKIP=16, failures=2)
I don't know what is going on here? Any help? I've installed Scikit-learn
without any issues on my OSX (10.8.3)
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general