mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 13:32:39 +02:00
changes tie_param to tie_params
This commit is contained in:
parent
4b9064bb0e
commit
5b86fce1b3
6 changed files with 27 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue