Generic explainability architecture for text models
Project description
Text Explainability
A generic explainability architecture for explaining text machine learning models.
Marcel Robeer, 2021
Installation
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
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 Foil Trees + ability to turn any output into a binary classification problem (fact-foil encodings)
- 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
- Update documentation
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
Built Distribution
Close
Hashes for text_explainability-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d3fe150c13e7da352e3d022af0a34bc769f012b3d0ed4fc16348a4523c83bd |
|
MD5 | b13043b90fc3f3acdae410ce9886f988 |
|
BLAKE2b-256 | 48a64855c3d111a97240d25130f9721a7303b6a8355d7bc3f6f256481b63985e |