Generic explainability architecture for text machine learning models
Project description
A generic explainability architecture for explaining text machine learning models.
Marcel Robeer, 2021
Installation
Method | Instructions |
---|---|
pip |
Install from PyPI via pip3 install text_explainability . |
Local | Clone this repository and install via pip3 install -e . or locally run python3 setup.py install . |
Example usage
Run lines in example_usage.py
to see an example of how the package can be used.
Releases
text_explainability
is officially released through PyPI.
See CHANGELOG.md for a full overview of the changes for each version.
Maintenance
Contributors
- Marcel Robeer (
@m.j.robeer
) - Michiel Bron (
@mpbron-phd
)
Todo
Tasks yet to be done:
- Add data sampling methods (e.g. representative subset, prototypes, MMD-critic)
- Implement local post-hoc explanations:
- Implement Anchors
- Implement global post-hoc explanations
- Add support for regression models
- More complex data augmentation
- Top-k replacement (e.g. according to LM / WordNet)
- Tokens to exclude from being changed
- Bag-of-words style replacements
- Add rule-based return type
- Write more tests
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
text_explainability-0.3.7.tar.gz
(22.8 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd6fb1e7dbf855d606a839d7597816f2396aca3a317e4ef01914df54805dc9a |
|
MD5 | 0d39ba32c88edb05674675e9b9c9f526 |
|
BLAKE2b-256 | 81aed61df105945cc8342d3e084686de27fd4bdcd0637cf6f6057411c9eb9470 |
Close
Hashes for text_explainability-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7eb02de77296f2d2c2b187da959876d21dcaab2e2d22930faec3d907b31a0d |
|
MD5 | 4f6a4fcf78c8b26b381eed211b0d1fe4 |
|
BLAKE2b-256 | 9055bcbe7ac5494f48c3c3634075623808687092561d9e1606e5eb175e189427 |