Simple BO Loop stuck on maximum bound. #2995
-
hi there, I'm trying to optimize a fbpic simulation in a simple 1D BO loop. I already played around with the UCB beta, trying 0.1, 0.5 and 0.9. I also changed num_restarts (10 and 80) and raw_samples (256 and 4096). This didn't change anything. Here are the two notebooks, there are also some visualizations in there, so you can see, that the maximum is not at 0.0015. Sorry for the very messy code. bay_opt-simple-laser_foc-GH.ipynb Do you have some idea, what I could do to try to fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Are you trying to minimize or maximize your objective here? Is there something weird going on with the signs of ![]() Somewhat unrelated to your questions: For the bay_opt-simple-GH.ipynb example, what is going on with the model fit? Between 0.6 and 0.8 you have these massive spikes that seem very wrong from eyeballing the observed data. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I've figured it out, I was using the wrong bounds on my optimize_acqf and didnt unnormalize the candidate before giving it to my simulation package.
This fixed it:
Now that it works I have the same spikes as with the nitrogen density one. I guess i should investigate further. Its also weird that although i used the wrong bounds and …