Generic explainability architecture for text machine learning models
Project description
A generic explainability architecture for explaining text machine learning models.
Marcel Robeer, 2021
Installation
Install from PyPI via pip3 install text_explainability
. Alternatively, 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.
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.5.tar.gz
(22.0 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0101adec12b305608c420e6960540ba105eb53a87ce243e2eec1215a824f39d |
|
MD5 | 1be038f92f6884f6197de2074916c8c1 |
|
BLAKE2b-256 | bac65a821f5d3b305bad469da890496524943c162603db71266ec9a997d85204 |
Close
Hashes for text_explainability-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457c77a451900f9abcc922a1b15cdeb949b8e9f712533f2e4e2addb38442f6b9 |
|
MD5 | 1213566e04622bff5ce52a97d9740070 |
|
BLAKE2b-256 | f0fa55b3453c83e784060cdf601822e40afce72ae62f69c6a6aab24b09784197 |