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.6.tar.gz
(22.8 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 647ce93c3be040f945ea68a04c77f6575a4e6478e26a16f15b3da39e0ebd8b1d |
|
MD5 | 8956154c0ec01d08d805d5064d1bbaf2 |
|
BLAKE2b-256 | 5a7a8ab5d1994628376bf0b24fa2593ee840f6b2561db56f54927c4c81119734 |
Close
Hashes for text_explainability-0.3.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6bc95f3a49a933a513a76234d2b366239c37090b52821a04f632f127daf9a3d |
|
MD5 | be73fa6cccce8ee3fde5a613d3872849 |
|
BLAKE2b-256 | b88bd5ce9667d0decb7bf0005205401a1d5f5a48586dca260cddcdc6019b1359 |