2c3a53b1740bfbb85a55d827788b1995176bb0b3,GPy/testing/psi_stat_tests.py,Test,testPsi1,#Test#,73
Before Change
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):
After Change
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:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: testPsi2
Project Name: SheffieldML/GPy
Commit Name: f01be172beee0e6df3b0447cccbfc4099cf34fdb
Time: 2013-04-23
Author: ibinbei@gmail.com
File Name: GPy/testing/psi_stat_tests.py
Class Name:
Method Name: