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.2.tar.gz
(18.7 kB
view hashes)
Built Distribution
Close
Hashes for text_explainability-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4268a3f54e9a94255a93eb24029c183e99b71bc3fad57113db1d176a10667ac |
|
MD5 | e8bcc140d18b9df6b4edfe4666671e41 |
|
BLAKE2b-256 | a80618e8f240c5d0dadf2fc4b5f8d4ae5e853c4d3ab83df36ae0db470ac68b70 |
Close
Hashes for text_explainability-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a258ef486f7fe1cae8793c7ba3323fe32f74aca957978c9d03e8b9ecd53871 |
|
MD5 | 759e2841c4227403af6ea54c1330af00 |
|
BLAKE2b-256 | d667932608f3fd08a7af3dd707e59b3f053fc39cad7af7b6613757cd1997c101 |