increase initial sampling points

This commit is contained in:
Janne Sinivirta 2018-06-20 09:13:51 +03:00
parent a46badd5c0
commit 964cbdc262

View File

@ -371,7 +371,7 @@ class Hyperopt(Backtesting):
cpus = multiprocessing.cpu_count()
print(f'Found {cpus}. Let\'s make them scream!')
opt = Optimizer(self.hyperopt_space(), "ET", acq_optimizer="sampling")
opt = Optimizer(self.hyperopt_space(), base_estimator="ET", acq_optimizer="auto", n_initial_points=30)
with Parallel(n_jobs=-1) as parallel:
for i in range(self.total_tries//cpus):