Open
Description
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.2numpy
Version 2.2.3scipy
Version 1.15.2bayesian-optimization
Version 2.0.3
Additional context
Adding random_state=any_number_you_like
when instantiating the acquisition function should suffice.