class_docstr: Exposes tree specific SHAP approximation, in interpret API form.
  If using this please cite the original authors as can be found here: https://github.com/slundberg/shap
docstr: Provides local explanations for provided instances.
  
  Args:
      X: Numpy array for X to explain.
      y: Numpy vector for y to explain.
      name: User-defined explanation name.
      **kwargs: Kwargs that will be sent to SHAP
  
  Returns:
      An explanation object, visualizing feature-value pairs
      for each instance as horizontal bar charts.
docstr_tok: ["Provides","local","explanations","for","provided","instances",".","Args",":","X",":","Numpy","array","for","X","to","explain",".","y",":","Numpy","vector","for","y","to","explain",".","name",":","User-defined","explanation","name",".","*","*","kwargs",":","Kwargs","that","will","be","sent","to","SHAP","Returns",":","An","explanation","object",",","visualizing","feature-value","pairs","for","each","instance","as","horizontal","bar","charts","."]
code: def explain_local(self, X, y=None, name=None, **kwargs):
      """Provides local explanations for provided instances.
  
      Args:
          X: Numpy array for X to explain.
          y: Numpy vector for y to explain.
          name: User-defined explanation name.
          **kwargs: Kwargs that will be sent to SHAP
  
      Returns:
          An explanation object, visualizing feature-value pairs
          for each instance as horizontal bar charts.
      """
      # NOTE: Check additivity is set to false by default as there is a problem with Mac OS that
      # doesn't always reach the specified precision.
      new_kwargs = {"check_additivity": False}
      new_kwargs.update(kwargs)
      return shap_explain_local(
          self,
          X,
          y,
          name,
          True,
          **new_kwargs,
      )
  
file_path: interpret/python/interpret-core/interpret/greybox/_shaptree.py
imports: from ..utils._shap_common import shap_explain_local
  from interpret.api.base import ExplainerMixin
  import numpy
  from ..utils._clean_x import preclean_X
  from ..utils._unify_data import unify_data
label_desc: Use image node_id 2 for calling the ShapTree obj's underlying member method code with example usage: obj.explain_local(X, y, name) and returns: shap_explain_local