increase initial sampling points
This commit is contained in:
parent
a46badd5c0
commit
964cbdc262
@ -371,7 +371,7 @@ class Hyperopt(Backtesting):
|
|||||||
cpus = multiprocessing.cpu_count()
|
cpus = multiprocessing.cpu_count()
|
||||||
print(f'Found {cpus}. Let\'s make them scream!')
|
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:
|
with Parallel(n_jobs=-1) as parallel:
|
||||||
for i in range(self.total_tries//cpus):
|
for i in range(self.total_tries//cpus):
|
||||||
|
Loading…
Reference in New Issue
Block a user