Hi,
Is the master branch on Github supposed to pass all tests? I get one
error and two failed tests:
======================================================================
ERROR: Ensures that checks return valid sparse matrices.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/vol/vipdata/users/mpr06/anaconda/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File
"/vol/vipdata/users/mpr06/sklearn-dev/anaconda/0.15dev/scikit-learn/sklearn/metrics/tests/test_pairwise.py",
line 429, in test_check_sparse_arrays
assert_true(XA_sparse == XB_checked)
File
"/vol/vipdata/users/mpr06/anaconda/lib/python2.7/unittest/case.py", line
422, in assertTrue
if not expr:
File
"/vol/vipdata/users/mpr06/anaconda/lib/python2.7/site-packages/scipy/sparse/base.py",
line 183, in __bool__
raise ValueError("The truth value of an array with more than one "
ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all().
======================================================================
FAIL: sklearn.feature_extraction.tests.test_image.test_connect_regions
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/vol/vipdata/users/mpr06/anaconda/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File
"/vol/vipdata/users/mpr06/sklearn-dev/anaconda/0.15dev/scikit-learn/sklearn/feature_extraction/tests/test_image.py",
line 63, in test_connect_regions
assert_equal(ndimage.label(mask)[1], connected_components(graph)[0])
AssertionError: 777 != 767
'777 != 767' = '%s != %s' % (safe_repr(777), safe_repr(767))
'777 != 767' = self._formatMessage('777 != 767', '777 != 767')
>> raise self.failureException('777 != 767')
======================================================================
FAIL:
sklearn.feature_extraction.tests.test_image.test_connect_regions_with_grid
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/vol/vipdata/users/mpr06/anaconda/lib/python2.7/site-packages/nose/case.py",
line 197, in runTest
self.test(*self.arg)
File
"/vol/vipdata/users/mpr06/sklearn-dev/anaconda/0.15dev/scikit-learn/sklearn/feature_extraction/tests/test_image.py",
line 70, in test_connect_regions_with_grid
assert_equal(ndimage.label(mask)[1], connected_components(graph)[0])
AssertionError: 777 != 767
'777 != 767' = '%s != %s' % (safe_repr(777), safe_repr(767))
'777 != 767' = self._formatMessage('777 != 767', '777 != 767')
>> raise self.failureException('777 != 767')
Thanks,
Michal
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general