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(
228228 """Find the maximum of the acquisition function.
229229
230230 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
232232 uses the best points as starting points for the smart optimizer.
233233
234234 Parameters
@@ -277,7 +277,7 @@ def _random_sample_minimize(
277277 random_state : RandomState ,
278278 n_random : int ,
279279 n_x_seeds : int = 0 ,
280- ) -> tuple [NDArray [Float ] | None , float ]:
280+ ) -> tuple [NDArray [Float ] | None , float , NDArray [ Float ] ]:
281281 """Random search to find the minimum of `acq` function.
282282
283283 Parameters
You can’t perform that action at this time.
0 commit comments