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

Failing test: distributions.tests.test_models.test_add_remove('lp.models.niw') #4

Open
doctorpangloss opened this issue Aug 7, 2017 · 1 comment
Labels

Comments

@doctorpangloss
Copy link

doctorpangloss commented Aug 7, 2017

See the attached Vagrantfile for the build environment:

Vagrantfile.txt

======================================================================
FAIL: distributions.tests.test_models.test_add_remove('lp.models.niw',)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/vagrant/distributions/distributions/tests/test_models.py", line 104, in test_one_model
    test_fun(module, EXAMPLE)
  File "/home/vagrant/distributions/distributions/tests/test_models.py", line 246, in test_add_remove
    err_msg='p(x1,...,xn) != p(x1) p(x2|x1) p(xn|...)')
  File "/home/vagrant/distributions/distributions/tests/util.py", line 120, in assert_close
    assert_less(diff, tol * norm, msg)

AssertionError: p(x1,...,xn) != p(x1) p(x2|x1) p(xn|...) off by 0.105773141425% = 0.00499747693539
-------------------- >> begin captured stdout << ---------------------
example 1/4
example 2/4
example 3/4
p(x1,...,xn) != p(x1) p(x2|x1) p(xn|...)
actual = 1.86485503614
expected = 1.8598575592
@fritzo fritzo added the bug label Aug 7, 2017
@fritzo
Copy link
Member

fritzo commented Aug 7, 2017

niw is known to be buggy. See posterior/distributions#6

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

No branches or pull requests

2 participants