You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
We can see that the function is already evaluated five times. This function can be arbitrarily expensive to calculate and I believe it is a bug if it is implicitly evaluated five times before the optimization is run.
Using GPyOpt version 1.2.1 with GPy version 1.8.5 on Python 3.5.2
The text was updated successfully, but these errors were encountered:
I'm not a dev, but there is an option "initial_design_numdata" which is defaulted to 5, and "initial_design_type" which is set to "random", since you need some amount of initial points. Both are easily changed and work well for me.
Tnx for clarification. I understand this design choice and I still think that this behavior looks unexpected; by defining the method for the optimization it already evaluates the target function. I accept that some amount of data points are needed in order for the method to work and would like for it to happen when explicitly told to. That way it could also take max_time, max_iter and other optimization parameters into account when the optimization is run that cannot be set with the constructor.
I can try to set initial_design_numdata to 0 to workaround this and increase the max_iter to account for it.
When defining toy example like this:
We can see that the function is already evaluated five times. This function can be arbitrarily expensive to calculate and I believe it is a bug if it is implicitly evaluated five times before the optimization is run.
Using GPyOpt version 1.2.1 with GPy version 1.8.5 on Python 3.5.2
The text was updated successfully, but these errors were encountered: