4be9400d3fcdf22592f87969e281490ae51555b2,testing/test_conditionals.py,DiagsTest,test_nonwhiten,#DiagsTest#,65

Before Change


            self.assertTrue(np.allclose(var_diff, 0))

    def test_nonwhiten(self):
        with self.test_context() as sess, self.k.tf_mode():
            Fstar_mean_1, Fstar_var_1 = gpflow.conditionals.gaussian_gp_predict(
                self.Xs, self.X, self.k, self.mu, self.sqrt, self.num_latent)
            Fstar_mean_2, Fstar_var_2 = gpflow.conditionals.gaussian_gp_predict(

After Change


            mean_diff = sess.run(Fstar_mean_1 - Fstar_mean_2, feed_dict=feed_dict)
            var_diff = sess.run(Fstar_var_1 - Fstar_var_2, feed_dict=feed_dict)

            assert_allclose(mean_diff, 0)
            assert_allclose(var_diff, 0)


class WhitenTest(GPflowTestCase):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: GPflow/GPflow
Commit Name: 4be9400d3fcdf22592f87969e281490ae51555b2
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_conditionals.py
Class Name: DiagsTest
Method Name: test_nonwhiten


Project Name: GPflow/GPflow
Commit Name: cc5e7d00a6696a8cf6e40686455e7e034fbf26ff
Time: 2017-09-28
Author: art.art.v@gmail.com
File Name: testing/test_kerns.py
Class Name: TestAdd
Method Name: test_sym


Project Name: GPflow/GPflow
Commit Name: 4be9400d3fcdf22592f87969e281490ae51555b2
Time: 2017-10-29
Author: art.art.v@gmail.com
File Name: testing/test_conditionals.py
Class Name: WhitenTest
Method Name: test_whiten


Project Name: GPflow/GPflow
Commit Name: cc5e7d00a6696a8cf6e40686455e7e034fbf26ff
Time: 2017-09-28
Author: art.art.v@gmail.com
File Name: testing/test_kerns.py
Class Name: TestAdd
Method Name: test_asym


Project Name: GPflow/GPflow
Commit Name: 30a5671297517875caacbf6bd03ae1de0d94ec67
Time: 2017-11-01
Author: art.art.v@gmail.com
File Name: testing/test_mean_functions.py
Class Name: TestSwitchedMeanFunction
Method Name: test