merge --job-workers and commit printing debug log messages with the opt state

This commit is contained in:
hroff-1902 2019-04-24 10:35:04 +03:00 committed by GitHub
parent 2898067318
commit 6a0f527e0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ class Hyperopt(Backtesting):
'result': f_val[j]['result'],
})
logger.debug(f"Optimizer params: {f_val[j]['params']}")
for j in range(cpus):
for j in range(jobs):
logger.debug(f"Opimizer state: Xi: {opt.Xi[-j-1]}, yi: {opt.yi[-j-1]}")
except KeyboardInterrupt:
print('User interrupted..')