mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 16:22:39 +02:00
[kern] Standard periodic kernel. Changes paramter name from 'wavelenght' to 'period'.
This seems to be more clear. Also some minor modifications in the same file.
This commit is contained in:
parent
af76126ef1
commit
1c3ec5897c
2 changed files with 69 additions and 70 deletions
|
|
@ -335,7 +335,7 @@ class KernelGradientTestsContinuous(unittest.TestCase):
|
|||
self.assertTrue(check_kernel_gradient_functions(k, X=self.X, X2=self.X2, verbose=verbose))
|
||||
|
||||
def test_standard_periodic(self):
|
||||
k = GPy.kern.StdPeriodic(self.D, self.D-1)
|
||||
k = GPy.kern.StdPeriodic(self.D)
|
||||
k.randomize()
|
||||
self.assertTrue(check_kernel_gradient_functions(k, X=self.X, X2=self.X2, verbose=verbose))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue