[SciPy-user] Ubuntu Feisty Source Install
Robert Kern
robert.kern at gmail.com
Fri May 4 23:16:17 EDT 2007
Ryan Krauss wrote:
> I found another thread with loadmat issues that said to build from
> svn. Here is the scipy.test() result after rebuilding numpy and scipy
> from svn. Only 1 failure and a few warnings. Any thoughts?:
> ======================================================================
> FAIL: check_normal (scipy.stats.tests.test_morestats.test_anderson)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/scipy/stats/tests/test_morestats.py",
> line 51, in check_normal
> assert_array_less(A, crit[-2:])
> File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line
> 235, in assert_array_less
> header='Arrays are not less-ordered')
> File "/usr/lib/python2.5/site-packages/numpy/testing/utils.py", line
> 215, in assert_array_compare
> assert cond, msg
> AssertionError:
> Arrays are not less-ordered
>
> (mismatch 100.0%)
> x: array(1.0864174631371526)
> y: array([ 0.858, 1.021])
>
> ----------------------------------------------------------------------
> Ran 1628 tests in 3.440s
Does it fail repeatedly? Unfortunately, it is only a statistical test of a
statistical test, if you follow my drift. It is almost guaranteed to fail
eventually if you run it enough times.
Anyways, I've modified it to run deterministically now, with a chosen PRNG seed.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the SciPy-User
mailing list