.. SHAP documentation master file, created by sphinx-quickstart on Tue May 22 10:44:55 2018. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to the SHAP documentation --------------------------------- .. image:: artwork/shap_header.png :width: 600px :align: center **SHAP (SHapley Additive exPlanations)** is a game theoretic approach to explain the output of any machine learning model. It connects optimal credit allocation with local explanations using the classic Shapley values from game theory and their related extensions (see `papers `_ for details and citations). Install ======= SHAP can be installed from either `PyPI `_ or `conda-forge `_:: pip install shap or conda install -c conda-forge shap .. toctree:: :maxdepth: 2 :caption: Introduction Topical overviews .. toctree:: :maxdepth: 2 :caption: Examples Tabular examples Text examples Image examples Genomic examples .. toctree:: :maxdepth: 2 :caption: Reference API reference API examples Benchmarks .. toctree:: :maxdepth: 1 :caption: Development Release notes Contributing guide