« Back to top page

Threshold Pruner

Pruner to detect outlying metrics of the trials.

Class or Function Names

  • ThresholdPruner

Example

study = create_study(pruner=ThresholdPruner(upper=1.0))
study.optimize(objective_for_upper, n_trials=10)

study = create_study(pruner=ThresholdPruner(lower=0.0))
study.optimize(objective_for_lower, n_trials=10)

See example.py for a full example.

Others

See the documentation for more details.

Package
pruners/threshold
Author
Optuna team
License
MIT License
Verified Optuna version
  • 3.6.1
Last update
2024-07-22