7c8e935f8de396e0c42e0d6d14600bcf70408b09,testing/test_coregion.py,TestEquivalence,test_likelihood_variance,#TestEquivalence#,89
Before Change
self._optimized = True
def test_likelihood_variance(self):
with self.session.graph.as_default(), self.session.as_default():
assert_allclose(self.vgp0.likelihood.variance.read_value(),
self.cvgp.likelihood.likelihood_list[0].variance.read_value(),
atol=1e-2)
assert_allclose(self.vgp1.likelihood.variance.read_value(),
self.cvgp.likelihood.likelihood_list[1].variance.read_value(),
atol=1e-2)
def test_kernel_variance(self):
with self.session.graph.as_default(), self.session.as_default():
assert_allclose(self.vgp0.kern.variance.read_value(),
self.cvgp.kern.coregion.kappa.read_value()[0],
After Change
self.cvgp = cvgp
self._optimized = True
def test_likelihood_variance(self):
with self.test_context():
assert_allclose(self.vgp0.likelihood.variance.read_value(),
self.cvgp.likelihood.likelihood_list[0].variance.read_value(),
atol=1e-2)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 7
Instances
Project Name: GPflow/GPflow
Commit Name: 7c8e935f8de396e0c42e0d6d14600bcf70408b09
Time: 2017-11-05
Author: art.art.v@gmail.com
File Name: testing/test_coregion.py
Class Name: TestEquivalence
Method Name: test_likelihood_variance
Project Name: GPflow/GPflow
Commit Name: 7c8e935f8de396e0c42e0d6d14600bcf70408b09
Time: 2017-11-05
Author: art.art.v@gmail.com
File Name: testing/test_coregion.py
Class Name: TestEquivalence
Method Name: test_mean_values
Project Name: GPflow/GPflow
Commit Name: 7c8e935f8de396e0c42e0d6d14600bcf70408b09
Time: 2017-11-05
Author: art.art.v@gmail.com
File Name: testing/test_coregion.py
Class Name: TestEquivalence
Method Name: test_kernel_variance
Project Name: GPflow/GPflow
Commit Name: 7c8e935f8de396e0c42e0d6d14600bcf70408b09
Time: 2017-11-05
Author: art.art.v@gmail.com
File Name: testing/test_coregion.py
Class Name: TestEquivalence
Method Name: test_predicts