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
Describe the bug
Acquisition functions used in some example notebooks are not provided with random state properly, so these notebooks cannot yield reproducible results. As far as I'm aware of, "Advanced Tour", "Exploration vs. Exploitation" and "Visualization of a 1D-Optimization" are affected.
To Reproduce
Get the abovementioned notebooks and run them several times.
Expected behavior
Each run of the same notebook should yield identical results.
Screenshots
N/A
Environment (please complete the following information):
OS: Arch Linux
python Version 3.13.2
numpy Version 2.2.3
scipy Version 1.15.2
bayesian-optimization Version 2.0.3
Additional context
Adding random_state=any_number_you_like when instantiating the acquisition function should suffice.