mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update hyperopt.py
This commit is contained in:
parent
2733aa33b6
commit
b5a346a46d
|
@ -431,7 +431,7 @@ class Hyperopt:
|
||||||
while i < 100 and len(asked_non_tried) < n_points:
|
while i < 100 and len(asked_non_tried) < n_points:
|
||||||
if i < 3:
|
if i < 3:
|
||||||
self.opt.cache_ = {}
|
self.opt.cache_ = {}
|
||||||
asked = self.opt.ask(n_points=n_points)
|
asked = self.opt.ask(n_points=n_points * 5)
|
||||||
else:
|
else:
|
||||||
asked = self.opt.space.rvs(n_samples=n_points * 5)
|
asked = self.opt.space.rvs(n_samples=n_points * 5)
|
||||||
asked_non_tried += [x for x in asked
|
asked_non_tried += [x for x in asked
|
||||||
|
|
Loading…
Reference in New Issue
Block a user