Could you specify what version of numpy and scipy you are using? I get
the same failures with the current unstable versions, but not with
numpy 1.7.1 and scipy 0.12.0

Cheers,
Vlad

On Tue, May 28, 2013 at 7:26 AM, Jonathan S <jonathan.s...@gmail.com> wrote:
> 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? Besides this, I've installed
> Scikit-learn without any issues on my OSX (10.8.3)
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to