Giter Club home page Giter Club logo

sufficientinputsubsets's Introduction

Understanding Decisions with Sufficient Input Subsets

This repository contains code for the following paper:

"What made you do this? Understanding black-box decisions with sufficient input subsets." Brandon Carter, Jonas Mueller, Siddhartha Jain, David Gifford. 2018. [arxiv]

In this work, we propose sufficient input subsets, minimal subsets of input features whose values alone suffice for the model to reach the same decision. We also extract general principles that globally govern the model's decision making by clustering such input patterns that appear across many data points. Our approach is entirely model-agnostic.

Note: this code was intended for development. We recommend implementing the procedure (e.g. in TensorFlow or PyTorch) for performance-critical applications.

Datasets

We explore our method to text, image, and genomic data:

  • Multi-aspect sentiment sentiment of beer reviews from BeerAdvocate.
  • Predicting transcription factor (TF) binding in genomic data.
  • Classification of handwritten digits using MNIST.

See the data/ directory for more details and links to obtain the datasets.

Directories
  • notebooks/: Jupyter notebooks for model training, applying SIS and alternative methods, and analysis on beer review data; aggregate analysis of all TF binding datasets; MNIST
  • data/: raw data for the various datasets
  • trained_models/: trained (Keras) LSTM models for beer reviews
  • packages/: respositories for integrated gradients (applied to Keras-based models) and Levenshtein distance

sufficientinputsubsets's People

Contributors

b-carter avatar

Watchers

James Cloos avatar

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.