seldonian.utils.io_utils

Functions

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

dir_path(path)

A utility for checking whether a path is a directory

load_json(filename)

A wrapper for loading an object from a JSON file

load_pickle(filename)

A wrapper for loading an object from a pickle file

save_json(filename, data[, indent, verbose])

A wrapper for saving an object to a JSON file

save_pickle(filename, data[, verbose])

A wrapper for saving an object to a pickle file