Skip to content

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

@doctorpangloss

Description

@doctorpangloss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions