optuna.terminator.RegretBoundEvaluator
- class optuna.terminator.RegretBoundEvaluator(top_trials_ratio=0.5, min_n_trials=20, seed=None)[source]
An error evaluator for upper bound on the regret with high-probability confidence.
This evaluator evaluates the regret of current best solution, which defined as the difference between the objective value of the best solution and of the global optimum. To be specific, this evaluator calculates the upper bound on the regret based on the fact that empirical estimator of the objective function is bounded by lower and upper confidence bounds with high probability under the Gaussian process model assumption.
- Parameters:
For further information about this evaluator, please refer to the following paper:
Note
Added in v3.2.0 as an experimental feature. The interface may change in newer versions without prior notice. See https://github.com/optuna/optuna/releases/tag/v3.2.0.
Methods
evaluate
(trials, study_direction)