mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 16:52:39 +02:00
regular expressions now match rather than search
This commit is contained in:
parent
26b4cd6c4f
commit
aa8b75d0c5
5 changed files with 42 additions and 47 deletions
|
|
@ -8,7 +8,7 @@ import GPy
|
|||
class KernelTests(unittest.TestCase):
|
||||
def test_kerneltie(self):
|
||||
K = GPy.kern.rbf(5, ARD=True)
|
||||
K.tie_params('[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