BayesOpt¶
- class gob.optimizers.BayesOpt.BayesOpt(bounds, n_eval=100, verbose=False)¶
Bases:
Optimizer
Interface 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)¶
Minimize a function using the optimizer.
- Parameters:
f (Function) – The objective function.
- Returns:
The minimum point and the minimum value.
- Return type:
pair
- set_stop_criterion(stop_criterion)¶
Set a stop criterion for the optimizer.
- Parameters:
stop_criterion (float) – The stop criterion.
- static transform_bounds(domain)¶
- static transform_function(function)¶