@@ -115,10 +115,6 @@ def test_data_indices(self):
115115 def test_object_integrity (self ):
116116 self .assertEqual (len (self .acquisition .models ), 1 , msg = "Model list has incorrect length." )
117117 self .assertEqual (self .acquisition .models [0 ], self .model , msg = "Incorrect model stored in ExpectedImprovement" )
118- self .assertEqual (len (self .acquisition ._default_params ), 1 )
119- self .assertTrue (
120- np .allclose (np .sort (self .acquisition ._default_params [0 ]), np .sort (np .array ([0.5413 ] * 4 )), atol = 1e-2 ),
121- msg = "Initial hypers improperly stored" )
122118
123119 def test_enable_scaling (self ):
124120 self .assertFalse (
@@ -246,10 +242,6 @@ def test_object_integrity(self):
246242 self .assertEqual (len (self .acquisition .models ), 2 , msg = "Model list has incorrect length." )
247243 for m1 , m2 in zip (self .acquisition .models , self .model ):
248244 self .assertEqual (m1 , m2 , msg = "Incorrect model stored in ExpectedImprovement" )
249- self .assertEqual (len (self .acquisition ._default_params ), 2 )
250- for i in np .arange (2 ):
251- self .assertTrue (np .allclose (np .sort (self .acquisition ._default_params [i ]), np .sort (np .array ([0.5413 ] * 3 )),
252- atol = 1e-2 ), msg = "Initial hypers improperly stored" )
253245
254246 def test_hvpoi_validity (self ):
255247 scores = self .acquisition .evaluate (self .candidates )
@@ -266,7 +258,6 @@ def test_object_integrity(self):
266258 for oper in self .acquisition .operands :
267259 self .assertTrue (isinstance (oper , GPflowOpt .acquisition .Acquisition ),
268260 msg = "All operands should be an acquisition object" )
269- self .assertEqual (len (self .acquisition ._default_params ), 0 )
270261 self .assertListEqual (self .acquisition .models .sorted_params , self .models )
271262
272263 def test_data (self ):
0 commit comments