14. Helpers#
14.1. miplearn.io#
- miplearn.io.gzip(filename: str) None#
- miplearn.io.read_pkl_gz(filename: str) Any#
- miplearn.io.write_pkl_gz(objs: List[Any], dirname: str, prefix: str = '', n_jobs: int = 1, progress: bool = False) List[str]#
14.2. miplearn.h5#
- class miplearn.h5.H5File(filename: str, mode: str = 'r+')#
Bases:
object- close() None#
- get_array(key: str) ndarray | None#
- get_bytes(key: str) bytes | bytearray | None#
- get_scalar(key: str) Any | None#
- get_sparse(key: str) coo_matrix | None#
- put_array(key: str, value: ndarray | None) None#
- put_bytes(key: str, value: bytes | bytearray) None#
- put_scalar(key: str, value: Any) None#
- put_sparse(key: str, value: coo_matrix) None#