merge --job-workers and commit printing debug log messages with the opt state
This commit is contained in:
parent
2898067318
commit
6a0f527e0e
@ -299,7 +299,7 @@ class Hyperopt(Backtesting):
|
|||||||
'result': f_val[j]['result'],
|
'result': f_val[j]['result'],
|
||||||
})
|
})
|
||||||
logger.debug(f"Optimizer params: {f_val[j]['params']}")
|
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]}")
|
logger.debug(f"Opimizer state: Xi: {opt.Xi[-j-1]}, yi: {opt.yi[-j-1]}")
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print('User interrupted..')
|
print('User interrupted..')
|
||||||
|
Loading…
Reference in New Issue
Block a user