Skip to main content

AttriBench: Metrics for Feature Attribution Techniques

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

Metadata

Release files for attribench 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for attribench 0.1.9
File Size Uploaded Provenance Actions
attribench-0.1.9.tar.gz 70.8 kB Without provenance Details for attribench-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for attribench 0.1.9
File Interpreter ABI Platform Actions
attribench-0.1.9-py3-none-any.whl Python 3 none any Details for attribench-0.1.9-py3-none-any.whl

Total release size: 193.2 kB

Release files / attribench-0.1.9.tar.gz

Download URL attribench-0.1.9.tar.gz
Size 70.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a84ea14175d79567fffa8e1d14937ab17117da9b7316150dd54bac5b803bfc47
BLAKE2b-256 checksum
How to use checksums
b57d3b07af78be64ae065a54d81b8dd132a65c6fcb361f34b23022a9561dbd91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / attribench-0.1.9-py3-none-any.whl

Download URL attribench-0.1.9-py3-none-any.whl
Size 122.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1e7c98b83688403656bb305728c1f7e054d81d1630405fcfed09e624a1f131d
BLAKE2b-256 checksum
How to use checksums
a6c04674dfca24be1211c74c50161a93e628de98b1a2c4d14253115ce153b294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for attribench 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page