d6883d26b557cbeeaceba38643bf5b98819fbed3,testing/test_model.py,TestOptimize,test_adam,#TestOptimize#,38
Before Change
def test_adam(self):
with self.test_context():
o = tf.train.AdamOptimizer()
self.m.optimize(o, maxiter=5000)
self.assertTrue(self.m.x.value.max() < 1e-2)
def test_lbfgsb(self):
with self.test_context():
After Change
def test_adam(self):
with self.test_context():
m = self.m
opt = gpflow.train.AdamOptimizer(0.01)
m.comiple()
opt.minimize(m, maxiter=5000)
self.assertTrue(m.x.read_value().max() < 1e-2)
def test_lbfgsb(self):
with self.test_context():
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: GPflow/GPflow
Commit Name: d6883d26b557cbeeaceba38643bf5b98819fbed3
Time: 2017-09-26
Author: art.art.v@gmail.com
File Name: testing/test_model.py
Class Name: TestOptimize
Method Name: test_adam
Project Name: GPflow/GPflow
Commit Name: d6883d26b557cbeeaceba38643bf5b98819fbed3
Time: 2017-09-26
Author: art.art.v@gmail.com
File Name: testing/test_model.py
Class Name: TestKeyboardCatching
Method Name: test_optimize_np
Project Name: GPflow/GPflow
Commit Name: 3ae87f9718babe8b7385527b0298ca68b6a75699
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_session.py
Class Name: TestSessionConfiguration
Method Name: test_option_persistance