Update hyperopt.py

This commit is contained in:
Italo 2022-03-22 11:01:38 +00:00
parent 2733aa33b6
commit b5a346a46d

View File

@ -431,7 +431,7 @@ class Hyperopt:
while i < 100 and len(asked_non_tried) < n_points:
if i < 3:
self.opt.cache_ = {}
asked = self.opt.ask(n_points=n_points)
asked = self.opt.ask(n_points=n_points * 5)
else:
asked = self.opt.space.rvs(n_samples=n_points * 5)
asked_non_tried += [x for x in asked