mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-03 08:42:39 +02:00
Fixed bias+linear and bias+rbf with psi statistics
This commit is contained in:
parent
98c885c486
commit
994db9f536
3 changed files with 11 additions and 5 deletions
|
|
@ -503,6 +503,7 @@ class Kernel_Psi_statistics_GradientTests(unittest.TestCase):
|
|||
|
||||
from GPy.models import GradientChecker
|
||||
m = GradientChecker(f, df, kernel.param_array.copy())
|
||||
m.checkgrad(verbose=1)
|
||||
self.assertTrue(m.checkgrad())
|
||||
|
||||
def _test_Z(self, kernel, psi2n=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue