Skip to content
/ eli5 Public
forked from TeamHG-Memex/eli5

A library for debugging machine learning classifiers and explaining their predictions

License

Notifications You must be signed in to change notification settings

bc2009/eli5

This branch is 766 commits behind TeamHG-Memex/eli5:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2016
Dec 20, 2016
Dec 20, 2016
Dec 20, 2016
Sep 20, 2016
Oct 13, 2016
Dec 2, 2016
Dec 2, 2016
Nov 24, 2016
Oct 12, 2016
Dec 2, 2016
Sep 23, 2016
Sep 24, 2016
Nov 25, 2016
Dec 12, 2016
Nov 25, 2016
Dec 12, 2016

Repository files navigation

ELI5

PyPI Version Build Status Code Coverage Documentation

ELI5 is a Python package which helps to debug machine learning classifiers and explain their predictions.

explain_prediction for text data

It provides support for the following machine learning frameworks and packages:

  • scikit-learn. Currently ELI5 allows to explain weights and predictions of scikit-learn linear classifiers and regressors, print decision trees as text or as SVG, show feature importances of random forests. ELI5 understands text processing utilities from scikit-learn and can highlight text data accordingly. It also allows to debug scikit-learn pipelines which contain HashingVectorizer, by undoing hashing.
  • lightning - explain weights and predictions of lightning classifiers and regressors.
  • sklearn-crfsuite. ELI5 allows to check weights of sklearn_crfsuite.CRF models.
  • xgboost - show feature importances using the same interface.

ELI5 also provides an alternative implementation of LIME algorithm, which allows to explain predictions of any black-box classifier. This feature is currently experimental.

Explanation and formatting are separated; you can get text-based explanation to display in console, HTML version embeddable in an IPython notebook or web dashboards, or JSON version which allows to implement custom rendering and formatting on a client.

License is MIT.

Check docs for more.

About

A library for debugging machine learning classifiers and explaining their predictions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 95.4%
  • Python 4.4%
  • HTML 0.2%