hyperas icon indicating copy to clipboard operation
hyperas copied to clipboard

modify line 139 in optim.py

Open bessembhiri opened this issue 2 years ago • 1 comments

i just changed the line #rstate=np.random.RandomState(rseed),

by rstate=np.random.default_rng(rseed), to allow compatibility with hyperopt==0.2.7

bessembhiri avatar Jun 27 '22 15:06 bessembhiri

+1: This patch got it working for me with hyperopt==0.2.7

phenomax avatar Jun 27 '22 19:06 phenomax

confirming that this patch worked for me too: hyperopt==0.2.7, won't compile otherwise

embengnoob avatar Dec 31 '22 09:12 embengnoob