Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yet another test failure on 0.5.0 (due to sporadic numerical error?) #22

Open
jakirkham opened this issue Apr 7, 2016 · 2 comments
Open

Comments

@jakirkham
Copy link
Contributor

Ran into a test failure I hadn't seen before. Using NumPy 1.10.4, Python 2.7.11, gcc 4.8.5.

python /Users/travis/miniconda3/conda-bld/work/cmt-0.5.0/code/cmt/python/tests/mixture_test.py

.F
======================================================================
FAIL: test_train (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/miniconda3/conda-bld/work/cmt-0.5.0/code/cmt/python/tests/mixture_test.py", line 47, in test_train
    self.assertLess(abs(1. - model.priors[0] / p0), 0.1)
AssertionError: array([ 0.10914887]) not less than 0.1
----------------------------------------------------------------------
Ran 2 tests in 0.514s
FAILED (failures=1)
@FlorianFranzen
Copy link
Collaborator

Is this fixed in the latest release v0.6.0?

@jakirkham
Copy link
Contributor Author

I have seen sporadic failures due to this test in the latest version as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants