class_docstr: Base class for explainer algorithms from :py:mod:`alibi.explainers`.
class_docstr_tok: ["Base","class","for","explainer","algorithms","from",":","py",":","mod",":","`","alibi.explainers","`","."]
docstr: Load an explainer from disk.
  
  Parameters
  ----------
  path
      Path to a directory containing the saved explainer.
  predictor
      Model or prediction function used to originally initialize the explainer.
  
  Returns
  -------
  An explainer instance.
docstr_tok: ["Load","an","explainer","from","disk",".","Parameters","--","--","--","--","--","path","Path","to","a","directory","containing","the","saved","explainer",".","predictor","Model","or","prediction","function","used","to","originally","initialize","the","explainer",".","Returns","--","--","--","-","An","explainer","instance","."]
code: def load(
      cls, path: Union[str, os.PathLike], predictor: Any
  ) -> "Explainer":
      """
      Load an explainer from disk.
  
      Parameters
      ----------
      path
          Path to a directory containing the saved explainer.
      predictor
          Model or prediction function used to originally initialize the explainer.
  
      Returns
      -------
      An explainer instance.
      """
      return load_explainer(path, predictor)
  
imports: import abc
  import json
  import os
  from collections import ChainMap
  from typing import Any, Union
  import logging
  from functools import partial
  import pprint
  import attr
  from alibi.saving import load_explainer, save_explainer, NumpyEncoder
  from alibi.version import __version__
label_desc: Use image node_id 2 for calling the Explainer obj's underlying member method code with example usage: obj.load(cls, path, predictor) and returns: load_explainer