-
Notifications
You must be signed in to change notification settings - Fork 261
True best value in Bayesian Optimization #349
Comments
Well, The |
That's how BO works, It explores the fuction. Just because we've hit a local minimum at X1, doesn't mean there isn't anything better elsewhere. You need to probe certain amount of points before you are certain how how the function looks and where the global minimum is. |
Thank you very much for your explanation! Then, I am wondering how should we select the stopping criteria for BO. Could you explain when should we stop the iterations? |
That is highly case dependent. Sometimes you want to stop when new Ys don't change much, sometimes you have a budget in terms of time or number of calls to the objective. This issue turns into a 101 on bayes opt. Do consider a proper tutorial, e.g. this one from Peter Frazier, one of the experts in the field. |
Thank you for your explanation! I'm thinking if the acquisition value can demonstrate stopping criteria because the acquisition value will decrease when iteration increases. Could you tell me how to plot acquisition value change as iteration increases in GpyOpt? |
For how to plot acquisition and similar functions, see GPyOpt tutorials. Plotting funciton is used here, for example. It isn't a good stopping criterion on its own, because acquisition isn't designed to tell you objective minimum - its designed to balance exploration and exploitation. Two points can value the same for different reasons. |
i don't think there is a built-in function for that. your best bet is to do the plotting yourself for that |
The acquisition function value can be got by myBopt1.acquisition.acquisition_function(x). For more details about the acquisition function, I think you can read the code in GpyOpt/GPyOpt/acquisitions folder. |
Thank you so much for your help! @LilyEvansHogwarts |
Hi,
I have some questions about the true best value in BO. my code is listed as below:
Then I plot the predicted best value of BO (myBopt1.Y[:i]) and the final best value of BO( myBopt1.Y)
My question is why the final best values do not converge as the predicted best values do? Why the final best values fluctuate?
What is the relation between myBopt1.fx_opt and myBopt1.Y?
The text was updated successfully, but these errors were encountered: