439bb9ca77a3381a6355667be68e291bb20218f7,testing/test_gplvm.py,TestGPLVM,test_optimise,#TestGPLVM#,24
Before Change
with self.test_context():
m = gpflow.models.GPLVM(self.Y, self.Q)
linit = m.compute_log_likelihood()
m.optimize(maxiter=2)
self.assertTrue(m.compute_log_likelihood() > linit)
def test_otherkernel(self):
with self.test_context():
After Change
def test_optimise(self):
with self.test_context():
m = gpflow.models.GPLVM(self.Y, self.Q)
m.compile()
linit = m.compute_log_likelihood()
opt = gpflow.train.ScipyOptimizer(options={"maxiter": 2})
opt.minimize(m)
self.assertTrue(m.compute_log_likelihood() > linit)
def test_otherkernel(self):
with self.test_context():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: GPflow/GPflow
Commit Name: 439bb9ca77a3381a6355667be68e291bb20218f7
Time: 2017-09-29
Author: art.art.v@gmail.com
File Name: testing/test_gplvm.py
Class Name: TestGPLVM
Method Name: test_optimise
Project Name: GPflow/GPflow
Commit Name: 439bb9ca77a3381a6355667be68e291bb20218f7
Time: 2017-09-29
Author: art.art.v@gmail.com
File Name: testing/test_gplvm.py
Class Name: TestBayesianGPLVM
Method Name: test_1d
Project Name: GPflow/GPflow
Commit Name: 439bb9ca77a3381a6355667be68e291bb20218f7
Time: 2017-09-29
Author: art.art.v@gmail.com
File Name: testing/test_gplvm.py
Class Name: TestGPLVM
Method Name: test_otherkernel
Project Name: GPflow/GPflow
Commit Name: 439bb9ca77a3381a6355667be68e291bb20218f7
Time: 2017-09-29
Author: art.art.v@gmail.com
File Name: testing/test_gplvm.py
Class Name: TestBayesianGPLVM
Method Name: test_2d