docstr: Class used to unpack the anchors and metadata from the explainer dictionary.
  
  Parameters
  ----------
  exp_type
      Type of explainer: tabular, text or image.
  exp_map
      Dictionary with the anchors and explainer metadata for an observation.
code: def __init__(self, exp_type: str, exp_map: dict) -> None:
      """
      Class used to unpack the anchors and metadata from the explainer dictionary.
  
      Parameters
      ----------
      exp_type
          Type of explainer: tabular, text or image.
      exp_map
          Dictionary with the anchors and explainer metadata for an observation.
      """
      self.type = exp_type
      self.exp_map = exp_map
  
file_path: alibi/alibi/explainers/anchors/anchor_explanation.py
imports: from typing import Optional, Union
  import numpy
label_desc: Use image node_id 1 to create a new AnchorExplanation object  with example: obj = AnchorExplanation(exp_type, exp_map)