Skip to content

Commit

Permalink
Fix doc example in WilcoxonPruner
Browse files Browse the repository at this point in the history
  • Loading branch information
contramundum53 committed Mar 15, 2024
1 parent f37ba90 commit a55122f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions optuna/pruners/_wilcoxon.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ def objective(trial):
trial.report(loss, id)
if trial.should_prune():
# raise optuna.TrialPruned()
# Return the current predicted value instead of raising `TrialPruned`.
# This is a workaround to tell the Optuna about the evaluation
# results in pruned trials. (See the note below.)
Expand Down

0 comments on commit a55122f

Please sign in to comment.