alibi_detect.saving.loading module
- alibi_detect.saving.loading.load_detector(filepath, **kwargs)[source]
Load outlier, drift or adversarial detector.
- alibi_detect.saving.loading.read_config(filepath)[source]
This function reads a detector toml config file and returns a dict specifying the detector.
- alibi_detect.saving.loading.resolve_config(cfg, config_dir)[source]
Resolves artefacts in a config dict. For example x_ref=’x_ref.npy’ is resolved by loading the np.ndarray from the .npy file. For a list of fields that are resolved, see https://docs.seldon.io/projects/alibi-detect/en/stable/overview/config_file.html.
- Parameters:
- Return type:
- Returns:
The resolved config dict.