mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 11:02:38 +02:00
more variational quadtrature code
This commit is contained in:
parent
9bfd569c7b
commit
30343f5e53
3 changed files with 21 additions and 23 deletions
|
|
@ -352,7 +352,7 @@ class TestNoiseModels(object):
|
|||
print model
|
||||
#print model._get_params()
|
||||
np.testing.assert_almost_equal(
|
||||
model.pdf(f.copy(), Y.copy()),
|
||||
model.pdf(f.copy(), Y.copy()).prod(),
|
||||
np.exp(model.logpdf(f.copy(), Y.copy()).sum())
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue