mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +02:00
Whoops!
This commit is contained in:
parent
cbf58d4920
commit
9c6abfc270
1 changed files with 1 additions and 2 deletions
|
|
@ -59,10 +59,9 @@ class MiscTests(unittest.TestCase):
|
|||
#np.testing.assert_almost_equal(mu_hat, mu)
|
||||
|
||||
def test_likelihood_replicate(self):
|
||||
tol = 1e-5
|
||||
m = GPy.models.GPRegression(self.X, self.Y)
|
||||
m2 = GPy.models.GPRegression(self.X, self.Y)
|
||||
np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood(), tol=tol)
|
||||
np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood())
|
||||
m.randomize()
|
||||
m2[:] = m[''].values()
|
||||
np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue