changes tie_param to tie_params

This commit is contained in:
James Hensman 2013-03-11 16:46:47 +00:00
parent 4b9064bb0e
commit 5b86fce1b3
6 changed files with 27 additions and 8 deletions

View file

@ -58,7 +58,7 @@ class BGPLVMTests(unittest.TestCase):
m.randomize()
self.assertTrue(m.checkgrad())
@unittest.skip('psi2 cross terms are NotImplemented for this combination')
#@unittest.skip('psi2 cross terms are NotImplemented for this combination')
def test_linear_bias_kern(self):
N, M, Q, D = 10, 3, 2, 4
X = np.random.rand(N, Q)

View file

@ -8,7 +8,7 @@ import GPy
class KernelTests(unittest.TestCase):
def test_kerneltie(self):
K = GPy.kern.rbf(5, ARD=True)
K.tie_param('[01]')
K.tie_params('[01]')
K.constrain_fixed('2')
X = np.random.rand(5,5)
Y = np.ones((5,1))