File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ def _acq_min(
228
228
"""Find the maximum of the acquisition function.
229
229
230
230
Uses a combination of random sampling (cheap) and either 'L-BFGS-B' or differential evolution
231
- optimization (smarter, but expensive). First samples `n_warmup ` (1e5) points at random, then
231
+ optimization (smarter, but expensive). First samples `n_random ` (1e5) points at random, then
232
232
uses the best points as starting points for the smart optimizer.
233
233
234
234
Parameters
@@ -277,7 +277,7 @@ def _random_sample_minimize(
277
277
random_state : RandomState ,
278
278
n_random : int ,
279
279
n_x_seeds : int = 0 ,
280
- ) -> tuple [NDArray [Float ] | None , float ]:
280
+ ) -> tuple [NDArray [Float ] | None , float , NDArray [ Float ] ]:
281
281
"""Random search to find the minimum of `acq` function.
282
282
283
283
Parameters
You can’t perform that action at this time.
0 commit comments