70e4d8aee5070b3b6fdf7e4739b42178a2d34f28,testing/test_acquisition.py,TestAcquisitionProduct,setUp,#TestAcquisitionProduct#,179
Before Change
class TestAcquisitionProduct(_TestAcquisitionBinaryOperator, unittest.TestCase):
def setUp(self):
super(TestAcquisitionProduct, 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.AcquisitionProduct(
GPflowOpt.acquisition.ExpectedImprovement(self.model),
GPflowOpt.acquisition.ExpectedImprovement(self.model))
After Change
class TestAcquisitionProduct(_TestAcquisitionBinaryOperator, unittest.TestCase):
def setUp(self):
super(TestAcquisitionProduct, self).setUp()
self.models = [self.create_parabola_model(), self.create_parabola_model()]
self.acquisition = GPflowOpt.acquisition.AcquisitionProduct(
GPflowOpt.acquisition.ExpectedImprovement(self.models[0]),
GPflowOpt.acquisition.ExpectedImprovement(self.models[1]))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
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: TestAcquisitionProduct
Method Name: setUp
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
Project Name: GPflow/GPflowOpt
Commit Name: 70e4d8aee5070b3b6fdf7e4739b42178a2d34f28
Time: 2017-05-05
Author: joachim.vanderherten@ugent.be
File Name: testing/test_acquisition.py
Class Name: TestExpectedImprovement
Method Name: setUp
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