-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Seeing below issue. Has anybody seen this issue before with largest_lyauponov_exponent.py after running "$ python setup.py test" and would be able to share a solution if one was found? I haven't been able to figure it out..
largest_lyauponov_exponent.py:119: FutureWarning: rcond
parameter will change to the default of machine precision times max(M, N)
where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None
, to keep using the old, explicitly pass rcond=-1
.
[m, c] = numpy.linalg.lstsq(X, mean_d)[0]
FAIL
test_permutation_entropy (tests.test_permutation_entropy.PermutationEntropyTests.test_permutation_entropy) ... ok
test_sampen_against_original_c_test_data (tests.test_sampen.SampEnTests.test_sampen_against_original_c_test_data)
Use test data from ... ok
test_sampen_against_predictable_sequence (tests.test_sampen.SampEnTests.test_sampen_against_predictable_sequence) ... ok
======================================================================
FAIL: test_largest_lyauponov_exponent (tests.test_largest_lyauponov_exponent.LLETests.test_largest_lyauponov_exponent)
\pyeeg\tests\test_largest_lyauponov_exponent.py", line 11, in test_largest_lyauponov_exponent
self.assertAlmostEqual(
AssertionError: nan != 0.18771136179353307 within 12 places (nan difference)
Ran 8 tests in 1.857s
FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=8 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=8 errors=0 failures=1>