beginning of adding variational GH quadrature to the likelihood class

This commit is contained in:
James Hensman 2014-10-16 12:14:56 +01:00
parent f9a16059e4
commit 84c87f7886
4 changed files with 39 additions and 7 deletions

View file

@ -353,7 +353,7 @@ class TestNoiseModels(object):
#print model._get_params()
np.testing.assert_almost_equal(
model.pdf(f.copy(), Y.copy()),
np.exp(model.logpdf(f.copy(), Y.copy()))
np.exp(model.logpdf(f.copy(), Y.copy()).sum())
)
@with_setup(setUp, tearDown)