Algorithms for monitoring and explaining machine learning models
Project description
Alibi is an open source Python library aimed at machine learning model inspection and interpretation. The initial focus on the library is on black-box, instance based model explanations.
Goals
- Provide high quality reference implementations of black-box ML model explanation algorithms
- Define a consistent API for interpretable ML methods
- Support multiple use cases (e.g. tabular, text and image data classification, regression)
- Implement the latest model explanation, concept drift, algorithmic bias detection and other ML model monitoring and interpretation methods
Installation
Alibi can be installed from PyPI:
pip install alibi
This will install alibi with all its dependencies:
beautifulsoup4
numpy
Pillow
pandas
requests
scikit-learn
spacy
scikit-image
tensorflow
To run all the example notebooks, you may additionally run pip install alibi[examples] which will
install the following:
seaborn
Keras
Examples
Anchor method applied to the InceptionV3 model trained on ImageNet:
| Prediction: Persian Cat | Anchor explanation |
|---|---|
Contrastive Explanation method applied to a CNN trained on MNIST:
| Prediction: 4 | Pertinent Negative: 9 | Pertinent Positive: 4 |
|---|---|---|
Trust scores applied to a softmax classifier trained on MNIST:
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alibi-0.2.3.tar.gz.
File metadata
- Download URL: alibi-0.2.3.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a800a7e715e4d72b42c484b74c4ed18896b1c4c2673ce18f634d883f704da3d
|
|
| MD5 |
91d864613d9e2afae08e08e4687d5bec
|
|
| BLAKE2b-256 |
93812a491ca1f3af829b745b6693838d7e00e7b87a17e17855aaf7c4b5e41a9a
|
File details
Details for the file alibi-0.2.3-py3-none-any.whl.
File metadata
- Download URL: alibi-0.2.3-py3-none-any.whl
- Upload date:
- Size: 62.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
942e2901ae8fee8c29c54576a0988e3e140962ad6e9ff97532ee77cac1dc62d9
|
|
| MD5 |
eebd1b7351671802d43945ee03557613
|
|
| BLAKE2b-256 |
a49e0a89bf36b8ed0012d69927df73bd11940c9917e41eb359c29ae3723babd2
|