Debug machine learning classifiers and explain their predictions
Project description
ELI5 is a Python package which helps to debug machine learning classifiers and explain their predictions.
It can explain weights and predictions of:
scikit-learn linear classifiers;
scikit-learn decision trees and tree-based ensemble classifiers;
any black-box classifier using LIME ( http://arxiv.org/abs/1602.04938 ) algorithm.
TODO:
https://github.com/TeamHG-Memex/sklearn-crfsuite and https://github.com/tpeng/python-crfsuite
fasttext (?)
xgboost (?)
image input
built-in support for non-text data in eli5.lime;
tensorflow, theano, lasagne, keras
Naive Bayes from scikit-learn (see https://github.com/scikit-learn/scikit-learn/issues/2237)
eli5.lime improvements;
IPython and HTML support;
regression models;
Reinforcement Learning support.
License is MIT.
Check docs for more (sorry, also TODO).
Changelog
0.0.3 (2016-09-21)
support any black-box classifier using LIME (http://arxiv.org/abs/1602.04938) algorithm; text data support is built-in;
“vectorized” argument for sklearn.explain_prediction; it allows to pass example which is already vectorized;
allow to pass feature_names explicitly;
support classifiers without get_feature_names method using auto-generated feature names.
0.0.2 (2016-09-19)
‘top’ argument of explain_prediction can be a tuple (num_positive, num_negative);
classifier name is no longer printed by default;
added eli5.sklearn.explain_prediction to explain individual examples;
fixed numpy warning.
0.0.1 (2016-09-15)
Pre-release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eli5-0.0.3.tar.gz
.
File metadata
- Download URL: eli5-0.0.3.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e033a9fdf8546ccbfaf5dd84973a131ff3a47bd1d61bcd7684ddd53d0b210ba3 |
|
MD5 | b9925b16e74f988eaf3f40621cd7de3c |
|
BLAKE2b-256 | 941563f6794f1a477af65c461267a3271c36be6733253c4bb160e3cea529de5c |
Provenance
File details
Details for the file eli5-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: eli5-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb4e164cf047de8ac7ec2eae546cf4e4d84336b82e04c6f715abb18c9d5532f9 |
|
MD5 | fe31123fb2fc2a4508f0f2c4db152b8d |
|
BLAKE2b-256 | 6c4f9148c59bf396cb250172c0347107cbf22c905be6f2724837be955dc08ed9 |