BayesOpt¶
- class gob.optimizers.misc.BayesOpt.BayesOpt(bounds, n_eval=100, verbose=False)[source]¶
Bases:
OptimizerInterface for the BayesOpt optimizer.
- Parameters:
bounds (ndarray) – The bounds of the search space.
n_eval (int) – The maximum number of function evaluations.
verbose (bool) – Whether to print information about the optimization process.
- minimize(f)[source]¶
Minimize a function using the optimizer.
- Parameters:
f (Function) – The objective function.
- Returns:
The minimum point and the minimum value.
- Return type:
pair