mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 16:52:39 +02:00
Other local changes.
This commit is contained in:
parent
6d5d4da133
commit
336fe164fa
6 changed files with 21 additions and 24 deletions
|
|
@ -4,12 +4,8 @@
|
|||
import unittest
|
||||
import numpy as np
|
||||
import GPy
|
||||
<<<<<<< HEAD
|
||||
|
||||
verbose = False
|
||||
=======
|
||||
|
||||
>>>>>>> 1bc93747178b0bab1b7177568388ebd4207647e0
|
||||
|
||||
class KernelTests(unittest.TestCase):
|
||||
def test_kerneltie(self):
|
||||
|
|
@ -93,7 +89,7 @@ class KernelTests(unittest.TestCase):
|
|||
Y = np.vstack((Y1,Y2))
|
||||
|
||||
k1 = GPy.kern.rbf(1) + GPy.kern.bias(1)
|
||||
k2 = GPy.kern.coregionalise(2,1)
|
||||
k2 = GPy.kern.coregionalize(2,1)
|
||||
kern = k1**k2
|
||||
self.assertTrue(GPy.kern.kern_test(kern, verbose=verbose))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue