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

Improve acq_max seeding of L-BFGS-B optimization #297

Merged
merged 5 commits into from
Dec 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix missing bracket
ptapping committed Dec 7, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit c03dee0388cae9ea2012748c09d8f5e4fd6aff1e
2 changes: 1 addition & 1 deletion bayes_opt/bayesian_optimization.py
Original file line number Diff line number Diff line change
@@ -230,7 +230,7 @@ def suggest(self, utility_function):
y_max=self._space._target_max(),
bounds=self._space.bounds,
random_state=self._random_state,
y_max_params=self._space.params[self._space.target.argmax())
y_max_params=self._space.params[self._space.target.argmax()])

return self._space.array_to_params(suggestion)