Code Monkey home page Code Monkey logo

lightnessofbeing / impreciseshap Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 103 KB

Implementation of the algorithm described in the paper "An Imprecise SHAP as a Tool for Explaining the Class Probability Distributions under Limited Training Data"

License: MIT License

Jupyter Notebook 74.70% Python 25.30%
python shap machine-learning explainable-ai explainable-ml shapley-value shapley-additive-explanations interpretable-machine-learning imprecise-probability

impreciseshap's Introduction

Imprecise SHAP

arXiv paperswithcode

Implementation of the algorithm described in the paper An Imprecise SHAP as a Tool for Explaining the Class Probability Distributions under Limited Training Data

You can find an example of how to run code in the example.ipynb.

All necessary packages are located in requirements.txt.

Abstract

One of the most popular methods of the machine learning prediction explanation is the SHapley Additive exPlanations method (SHAP). An imprecise SHAP as a modification of the original SHAP is proposed for cases when the class probability distributions are imprecise and represented by sets of distributions. The first idea behind the imprecise SHAP is a new approach for computing the marginal contribution of a feature, which fulfils the important efficiency property of Shapley values. The second idea is an attempt to consider a general approach to calculating and reducing interval-valued Shapley values, which is similar to the idea of reachable probability intervals in the imprecise probability theory. A simple special implementation of the general approach in the form of linear optimization problems is proposed, which is based on using the Kolmogorov-Smirnov distance and imprecise contamination models. Numerical examples with synthetic and real data illustrate the imprecise SHAP.

Citation

Please use this bibtex if you want to cite this work in your publications:

@article{DBLP:journals/corr/abs-2106-09111,
  author    = {Lev V. Utkin and
               Andrei V. Konstantinov and
               Kirill A. Vishniakov},
  title     = {An Imprecise {SHAP} as a Tool for Explaining the Class Probability
               Distributions under Limited Training Data},
  journal   = {CoRR},
  volume    = {abs/2106.09111},
  year      = {2021},
  url       = {https://arxiv.org/abs/2106.09111},
  archivePrefix = {arXiv},
  eprint    = {2106.09111},
  timestamp = {Tue, 29 Jun 2021 16:55:04 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2106-09111.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.