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.8.tar.gz
(23.2 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24279efd0641fd11acf06484be2d86fac56bebb8f50faeff4127a58600065c5c |
|
MD5 | 614e2c5c94d5afe03e053e00f7a2eb91 |
|
BLAKE2b-256 | 918fa21cf4d78eac6031064a4e0aaa9b7296c5d71f63579c444fcb0bd1822dc3 |
Close
Hashes for text_explainability-0.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67f3fed0d22a55e617c4e08b659ab77403312a75a834484898eb8924b0a776f2 |
|
MD5 | da3ff43a92d43dc0f67df7cba1f68a03 |
|
BLAKE2b-256 | 9c2d0bbbd40d7ab018ef5545e60351fa9a78709601fd5c6ea3507da51f920532 |