88ddcb8f6d74132d26f4cbf8d8b3f380cb8cd7b4,tests/test_priors.py,TestPriorMode,testLaplaceMode,#TestPriorMode#,73

Before Change


            m.compile()
            opt = gpflow.train.ScipyOptimizer()
            opt.minimize(m)
            xmax = m.read_trainables()
            assert_allclose(xmax, 3)

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

After Change


            m.compile()
            opt = gpflow.train.ScipyOptimizer()
            opt.minimize(m)
            _ = [assert_allclose(v, 3) for v in m.read_trainables().values()]

    def testLogNormalMode(self):
        with self.test_context():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GPflow/GPflow
Commit Name: 88ddcb8f6d74132d26f4cbf8d8b3f380cb8cd7b4
Time: 2017-11-15
Author: art.art.v@gmail.com
File Name: tests/test_priors.py
Class Name: TestPriorMode
Method Name: testLaplaceMode


Project Name: GPflow/GPflow
Commit Name: 88ddcb8f6d74132d26f4cbf8d8b3f380cb8cd7b4
Time: 2017-11-15
Author: art.art.v@gmail.com
File Name: tests/test_priors.py
Class Name: TestPriorMode
Method Name: testGaussianModeMatrix


Project Name: GPflow/GPflow
Commit Name: 88ddcb8f6d74132d26f4cbf8d8b3f380cb8cd7b4
Time: 2017-11-15
Author: art.art.v@gmail.com
File Name: tests/test_priors.py
Class Name: TestPriorMode
Method Name: testGaussianMode