[BUG]: numpy.random.mtrand.RandomState
object has no attribute integers
-> switch to np.random.Generator
#17
Labels
numpy.random.mtrand.RandomState
object has no attribute integers
-> switch to np.random.Generator
#17
Hey,
I found a bug, which is easy to fix, the hyperopt backend does not use the deprecated
np.random.RandomState
anymore and replaced it withnp.random.Generator
, this means the following line:bbopt/bbopt/backends/hyperopt.py
Line 176 in 408e210
Should be changed to:
This is explained in the following issue on hyperopt:
hyperopt/hyperopt#838
Best,
Max
The text was updated successfully, but these errors were encountered: