hyperimpute.utils.serialization module

class Serializable(*args: Any, **kwargs: Any)

Bases: object

Utility class for model persistence.

static load(buff: bytes) Any
static load_dict(representation: dict) Any
save() dict
save_dict() dict
save_to_file(path: Path) bytes
static version() str

API version

_add_version(obj: Any) Any
_check_version(obj: Any) Any
load(buff: bytes) Any
load_from_file(path: Union[str, Path]) Any
save(model: Any) bytes
save_to_file(path: Union[str, Path], model: Any) Any