Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

attribench-0.1.9.tar.gz (70.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

attribench-0.1.9-py3-none-any.whl (122.4 kB view details)

Uploaded Python 3

File details

Details for the file attribench-0.1.9.tar.gz.

File metadata

  • Download URL: attribench-0.1.9.tar.gz
  • Upload date:
  • Size: 70.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for attribench-0.1.9.tar.gz
Algorithm Hash digest
SHA256 a84ea14175d79567fffa8e1d14937ab17117da9b7316150dd54bac5b803bfc47
MD5 4c1edf21cb520f7d136691fd6eebdcd9
BLAKE2b-256 b57d3b07af78be64ae065a54d81b8dd132a65c6fcb361f34b23022a9561dbd91

See more details on using hashes here.

File details

Details for the file attribench-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: attribench-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 122.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for attribench-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b1e7c98b83688403656bb305728c1f7e054d81d1630405fcfed09e624a1f131d
MD5 bed7d1e5dd9aeece5ca3f6029029a4a2
BLAKE2b-256 a6c04674dfca24be1211c74c50161a93e628de98b1a2c4d14253115ce153b294

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page