Socket
Socket
Sign inDemoInstall

attribench

Package Overview
Dependencies
21
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    attribench

A benchmark for feature attribution techniques


Maintainers
1

Readme

AttriBench: Metrics for Feature Attribution Techniques

AttriBench is a Pytorch <https://pytorch.org/>_-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 <https://attribench.readthedocs.io/>_.

Installation

AttriBench can be installed from PyPI using pip:

.. code-block:: bash

pip install attribench

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc