-
-
Notifications
You must be signed in to change notification settings - Fork 8k
add early stopping for hyperopt #11736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry, i've somehow completely missed this PR.
For the CI, you'll need to run build_helpers/create_command_partials.py
and commit the result - it'll auto-update all doc descriptions to keep (at least this part of) the docs in sync with reality.
i assume in terms of testing, this is best tested with a very small search space, so it exhausts pretty quickly?
@viotemp1 i don't currently trust this functionality ... with |
I looked at their source code and it should work. The default of min_n_trials is 20 in optuna.terminator.Terminator(improvement_evaluator=None, error_evaluator=None, min_n_trials=20). |
well i think even enforcing a minimum of 20 (or ignoring values between 0 and 20) is reasonable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great enhancement 👍
Summary
Add early stopping for hyperopt
Quick changelog
What's new?
Will shorten the hyperopt time when no improvement in Objective