Skip to content

Speedup of the acquisition function optimization #14

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

Closed
wants to merge 3 commits into from

Conversation

stmax82
Copy link
Contributor

@stmax82 stmax82 commented Mar 7, 2016

I replaced the calls to scipy's minimize with tests of random points within the parameter space defined by pbounds. This results in speedups in most cases I have used it with. (I normally optimize 2-10 parameters)

The setting can be controlled with the test_random_points parameters. It's default is "False" (previous behaviour - using scipy's minimize). Setting it to an integer makes it test n random points instead.

The number of tested points depends on the number of parameters to optimize. I normally set it to 100k...

Example notebook:

https://github.com/stmax82/BayesianOptimization/blob/acq_opt/examples/acquisition%20function%20optimization.ipynb

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