mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 14:03:20 +02:00
various merge conflicts from the newGP branch
This commit is contained in:
parent
687631f719
commit
bbc7bd8aca
4 changed files with 18 additions and 18 deletions
|
|
@ -160,8 +160,8 @@ class GradientTests(unittest.TestCase):
|
|||
Y = np.hstack([np.ones(N/2),np.repeat(-1,N/2)])[:,None]
|
||||
kernel = GPy.kern.rbf(1)
|
||||
distribution = GPy.likelihoods.likelihood_functions.probit()
|
||||
likelihood = GPy.likelihoods.EP(Y,distribution)
|
||||
m = GPy.models.GP(X,kernel,likelihood=likelihood)
|
||||
likelihood = GPy.likelihoods.EP(Y, distribution)
|
||||
m = GPy.models.GP(X, likelihood, kernel)
|
||||
m.ensure_default_constraints()
|
||||
self.assertTrue(m.EPEM)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue