seldonian.utils.io_utils.cmaes_logger¶
- cmaes_logger(es, filename)¶
A function that is used as a callback each time the CMA-ES evoluation strategy object, es, is evaluated, allowing us to log the xmean and f value at each iteration
- Parameters:
es – CMA-ES evoluation strategy object
filename – The filename where the output will be saved