Skip to content

Commit acd4c54

Browse files
committed
nitpick fixes
1 parent 7bc0884 commit acd4c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bayes_opt/acquisition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)