print optimizer state in debug log messages
This commit is contained in:
parent
d3e956f7cc
commit
3e3fce5f38
@ -288,6 +288,9 @@ class Hyperopt(Backtesting):
|
|||||||
'total_tries': self.total_tries,
|
'total_tries': self.total_tries,
|
||||||
'result': f_val[j]['result'],
|
'result': f_val[j]['result'],
|
||||||
})
|
})
|
||||||
|
logger.debug(f"Optimizer params: {f_val[j]['params']}")
|
||||||
|
for j in range(cpus):
|
||||||
|
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