Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New exit strategies: max_evals and early_stop_condition #134

Merged
merged 3 commits into from
May 8, 2022

Conversation

MilesCranmer
Copy link
Owner

There are now several stop conditions for a PySR search.

  1. niterations - PySR will exit after the set number of iterations have passed.
  2. timeout_in_seconds - exit based on clock time.
  3. max_evals - exit after a certain number of evaluations have occurred. (NEW)
  4. early_stop_condition - exit after a certain loss has been met. (NEW)
  5. Manually hitting q or <ctl-c> and then enter during the search, if you are using it interactively.

@MilesCranmer MilesCranmer merged commit 9335949 into master May 8, 2022
@MilesCranmer MilesCranmer deleted the max_evals branch May 8, 2022 21:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant