A benchmark for feature attribution techniques
Project description
AttriBench is a Pytorch-based implementation of several metrics for the evaluation of feature attribution maps and methods. AttriBench provides a functional and an object-oriented API for the computation of these metrics, along with a set of utility functions for the necessary preparations (e.g. computing attribution maps) as well as for the visualization of the results.
The functional API is generally easier to use, and can be used to get started quickly if the scale of the evaluation is not too large. The object-oriented API is more flexible and can use multiple GPUs for evaluation of large datasets.
For more information, see the documentation.
Installation
AttriBench can be installed from PyPI using pip:
pip install attribench
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
Hashes for attribench-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d34d64891c6643ab77593731f80907757c94a1b3ebb93cd6a3c0b7a92b96e93 |
|
MD5 | bcaf5ecb79eb1e9d6fe8542013737f9b |
|
BLAKE2b-256 | 6f2af6606ebefb92268dd61450b4f60f9173a28254ebb4f729ce0a2766e9f86d |