Skip to content
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

Change Exploration defaults #125

Merged
merged 5 commits into from
Oct 27, 2023
Merged

Change Exploration defaults #125

merged 5 commits into from
Oct 27, 2023

Conversation

AngelFP
Copy link
Member

@AngelFP AngelFP commented Oct 18, 2023

Changes the default value of some Exploration parameters:

  • run_async=False. I think this is a more adequate default. Only when the time cost can change significantly between evaluations should the user set run_async=True. Otherwise, the current default was resulting in some performance loss, because new evaluations are no longer generated in batch unless the previous evaluations finished at exactly the same time.
  • max_evals=np.inf. By default, allow the exploration to run indefinitely. This is useful when running interactively in substeps with Exploration.run(n_evals) without predefining a maximum limit.
  • sim_workers=1. By default, run with only 1 worker.

@AngelFP AngelFP changed the title Set run_async=False by default Change Exploration defaults Oct 18, 2023
@AngelFP AngelFP added the enhancement New feature or request label Oct 19, 2023
Copy link
Collaborator

@MaxThevenet MaxThevenet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for this PR!

tests/test_exploration_resume.py Outdated Show resolved Hide resolved
@AngelFP AngelFP merged commit e060585 into main Oct 27, 2023
10 checks passed
@AngelFP AngelFP deleted the run_async_default branch October 27, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants