adaptive.utils module#

adaptive.utils.assign_defaults(function, df, function_prefix: str = 'function.')[source]#
adaptive.utils.cache_latest(f)[source]#

Cache the latest return value of the function and add it as ‘self._cache[f.__name__]’.

adaptive.utils.copy_docstring_from(other)[source]#
adaptive.utils.load(fname, compress=True)[source]#
adaptive.utils.named_product(**items)[source]#
adaptive.utils.partial_function_from_dataframe(function, df, function_prefix: str = 'function.')[source]#
adaptive.utils.restore(*learners)[source]#
adaptive.utils.save(fname, data, compress=True)[source]#