Fixed bias+linear and bias+rbf with psi statistics

This commit is contained in:
Alan Saul 2015-09-24 14:21:21 +01:00
parent 98c885c486
commit 994db9f536
3 changed files with 11 additions and 5 deletions

View file

@ -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):