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

Refactor HEBOSampler based on TPESampler #205

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

nabenabe0928
Copy link
Contributor

This PR refactors HEBOSampler based on TPESampler.

Comment on lines 240 to 242
states = (TrialState.COMPLETE, TrialState.RUNNING)
trials = study._get_trials(deepcopy=False, states=states, use_cache=True)
if any(param_name in trial.params for trial in trials):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This comes from TPESampler, c.f., code.

@nabenabe0928
Copy link
Contributor Author

@eukaryo
Could you take a look at this PR?

Copy link
Member

@HideakiImamura HideakiImamura left a comment

Choose a reason for hiding this comment

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

LGTM.

@HideakiImamura HideakiImamura merged commit 23d0c50 into optuna:main Dec 13, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants