70e4d8aee5070b3b6fdf7e4739b42178a2d34f28,testing/test_acquisition.py,TestAcquisitionSum,setUp,#TestAcquisitionSum#,151
Before Change
super(TestAcquisitionSum, self).setUp()
design = GPflowOpt.design.FactorialDesign(4, self.domain)
X, Y = design.generate(), parabola2d(design.generate())
self.model = GPflow.gpr.GPR(X, Y, GPflow.kernels.RBF(2, ARD=True))
self.acquisition = GPflowOpt.acquisition.AcquisitionSum(GPflowOpt.acquisition.ExpectedImprovement(self.model),
GPflowOpt.acquisition.ExpectedImprovement(self.model))
def test_sum_validity(self):
After Change
class TestAcquisitionSum(_TestAcquisitionBinaryOperator, unittest.TestCase):
def setUp(self):
super(TestAcquisitionSum, self).setUp()
self.models = [self.create_parabola_model(), self.create_parabola_model()]
self.acquisition = GPflowOpt.acquisition.AcquisitionSum(
GPflowOpt.acquisition.ExpectedImprovement(self.models[0]),
GPflowOpt.acquisition.ExpectedImprovement(self.models[1]))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: GPflow/GPflowOpt
Commit Name: 70e4d8aee5070b3b6fdf7e4739b42178a2d34f28
Time: 2017-05-05
Author: joachim.vanderherten@ugent.be
File Name: testing/test_acquisition.py
Class Name: TestAcquisitionSum
Method Name: setUp
Project Name: GPflow/GPflow
Commit Name: bb098392a3ff933d7d0852b9b1b9af09b96eafaa
Time: 2019-09-10
Author: sergio.diaz@prowler.io
File Name: _unsorted/_test_methods.py
Class Name:
Method Name:
Project Name: GPflow/GPflowOpt
Commit Name: 70e4d8aee5070b3b6fdf7e4739b42178a2d34f28
Time: 2017-05-05
Author: joachim.vanderherten@ugent.be
File Name: testing/test_acquisition.py
Class Name: TestAcquisitionProduct
Method Name: setUp