alibi_detect.utils.saving.saving module

alibi_detect.utils.saving.saving.load_detector(filepath, **kwargs)[source]

Load outlier, drift or adversarial detector.

Parameters:

filepath (Union[str, PathLike]) – Load directory.

Return type:

Union[Detector, ConfigurableDetector]

Returns:

Loaded outlier or adversarial detector object.

alibi_detect.utils.saving.saving.save_detector(detector, filepath, legacy=False)[source]

Save outlier, drift or adversarial detector.

Parameters:
Return type:

None