2c3a53b1740bfbb85a55d827788b1995176bb0b3,GPy/testing/psi_stat_tests.py,Test,testPsi1,#Test#,73
Before Change
assert m.checkgrad(), "linear x psi0"
def testPsi1(self):
kernel = GPy.kern.linear(Q)
m = PsiStatModel("psi1", X=X, X_variance=X_var, Z=Z,
M=M, kernel=kernel, mu_or_S=0, dL=numpy.ones((1, 1)))
assert(m.checkgrad())
def testPsi2(self):
kernel = GPy.kern.linear(Q)
After Change
assert m.checkgrad(), "{} x psi0".format("+".join(map(lambda x: x.name, k.parts)))
def testPsi1(self):
for k in self.kernels:
m = PsiStatModel("psi0", X=self.X, X_variance=self.X_var, Z=self.Z,
M=self.M, kernel=k)
assert m.checkgrad(), "{} x psi1".format("+".join(map(lambda x: x.name, k.parts)))
def testPsi2(self):
for k in self.kernels:
m = PsiStatModel("psi0", X=self.X, X_variance=self.X_var, Z=self.Z,
M=self.M, kernel=k)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 17
Instances
Project Name: SheffieldML/GPy
Commit Name: 2c3a53b1740bfbb85a55d827788b1995176bb0b3
Time: 2013-04-23
Author: ibinbei@gmail.com
File Name: GPy/testing/psi_stat_tests.py
Class Name: Test
Method Name: testPsi1
Project Name: SheffieldML/GPy
Commit Name: 2c3a53b1740bfbb85a55d827788b1995176bb0b3
Time: 2013-04-23
Author: ibinbei@gmail.com
File Name: GPy/testing/psi_stat_tests.py
Class Name: Test
Method Name: testPsi0
Project Name: SheffieldML/GPy
Commit Name: 2c3a53b1740bfbb85a55d827788b1995176bb0b3
Time: 2013-04-23
Author: ibinbei@gmail.com
File Name: GPy/testing/psi_stat_tests.py
Class Name: Test
Method Name: testPsi1
Project Name: SheffieldML/GPy
Commit Name: 2c3a53b1740bfbb85a55d827788b1995176bb0b3
Time: 2013-04-23
Author: ibinbei@gmail.com
File Name: GPy/testing/psi_stat_tests.py
Class Name: Test
Method Name: testPsi2