d6883d26b557cbeeaceba38643bf5b98819fbed3,testing/test_model.py,TestOptimize,test_lbfgsb,#TestOptimize#,44

Before Change



    def test_lbfgsb(self):
        with self.test_context():
            self.m.optimize(disp=False)
            self.assertTrue(self.m.x.value.max() < 1e-6)

    def test_feval_counter(self):
        with self.test_context():

After Change


        with self.test_context():
            m = self.m
            m.compile()
            opt = gpflow.train.ScipyOptimizer(options={"disp": False, "maxiter": 1000})
            opt.minimize(m)
            self.assertTrue(self.m.x.value.max() < 1e-6)


class KeyboardRaiser:
Italian Trulli
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_lbfgsb


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


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