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.3.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12fbc2d437ba351309d83d4a0f660fa615c7e0274635f24c55bca2e8186fe5c1 |
|
MD5 | a1b721c9c210682bee61dc44ca6eefeb |
|
BLAKE2b-256 | d5ad63ba7d496ddb9799b0cc0b6cbf32c701041aba14c55810eafc2c4a6e377c |
Close
Hashes for text_explainability-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8681eb7453db12860fc1ef8427a6c1cb5aef845254184694288962053f69ac |
|
MD5 | 475a8e7767e5b73a0062a5f38b37bb76 |
|
BLAKE2b-256 | 08841d8e696ac66fb54d6d8ac327d2ab92bc6d5eb8ef9b8832faa0c64068d9f3 |