Extended variant of ZeNNit with SIGNed explanations - Unveiling relevant features by reducing bias
Project description
SIGN (Sign-based Improvement of Gradient-based explaNations) is a novel XAI method intended to reduce bias in explanations that are intrinsically induced by several state-of-the-art XAI methods. The SIGN-XAI-2 package enables simple application of this method in your projects using the established Zennit (Zennit explains neural networks in torch) package pypi.org/project/zennit/.
If you use this package or parts of it in your own work, please consider citing our paper:
@article{Gumpfer2023SIGN,
title = {SIGNed explanations: Unveiling relevant features by reducing bias},
author = {Nils Gumpfer and Joshua Prim and Till Keller and Bernhard Seeger and Michael Guckert and Jennifer Hannig},
journal = {Information Fusion},
pages = {101883},
year = {2023},
issn = {1566-2535},
doi = {https://doi.org/10.1016/j.inffus.2023.101883}
}
Documentation
The latest documentation is available from timexaigroup.github.io/signxai2.
Install
To install the package directly from PyPI using pip, use:
$ pip install signxai2
Usage
SIGN-XAI-2 is based on Zennit and works with PyTorch. If you want to know more about Zennit and its usage, visit github.com/chr5tphr/zennit. There is also a version of SIGN available for usage with TensorFlow environments pypi.org/project/signxai/.
Example Code:
import signxai2
For more details and examples, have a look at our documentation.
License
SIGN-XAI-2 and Zennit are licensed under the GNU LESSER GENERAL PUBLIC LICENSE VERSION 3 OR LATER -- see the COPYING and COPYING.LESSER files for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signxai2-0.15.1.tar.gz.
File metadata
- Download URL: signxai2-0.15.1.tar.gz
- Upload date:
- Size: 274.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c55aac4476e8fdfb111b46f5129c090e799ffced7193bdf84b1af5effa4ad144
|
|
| MD5 |
9efb959440daa80fbfd10ad8b52727bf
|
|
| BLAKE2b-256 |
1394c0e87063dcb9996372dc1c72d104714c836fe05419104ecae30472817344
|
Provenance
The following attestation bundles were made for signxai2-0.15.1.tar.gz:
Publisher:
auto-release.yml on TimeXAIgroup/signxai2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
signxai2-0.15.1.tar.gz -
Subject digest:
c55aac4476e8fdfb111b46f5129c090e799ffced7193bdf84b1af5effa4ad144 - Sigstore transparency entry: 666868490
- Sigstore integration time:
-
Permalink:
TimeXAIgroup/signxai2@bc9353f8dfb6a233be3b577aa5e1c1cbfe11baec -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TimeXAIgroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@bc9353f8dfb6a233be3b577aa5e1c1cbfe11baec -
Trigger Event:
push
-
Statement type:
File details
Details for the file signxai2-0.15.1-py3-none-any.whl.
File metadata
- Download URL: signxai2-0.15.1-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1c1715b9c95cc09f1952289fb839bb324b5ac272595d7da0c074c9b0af0fd19
|
|
| MD5 |
ff95fbb53fc235b18a9fd33aa3f9133f
|
|
| BLAKE2b-256 |
845b10d5984ec5887352e6f7956fec3d7ebca8926db87a8bf808e3bfb9ab862d
|
Provenance
The following attestation bundles were made for signxai2-0.15.1-py3-none-any.whl:
Publisher:
auto-release.yml on TimeXAIgroup/signxai2
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
signxai2-0.15.1-py3-none-any.whl -
Subject digest:
e1c1715b9c95cc09f1952289fb839bb324b5ac272595d7da0c074c9b0af0fd19 - Sigstore transparency entry: 666868530
- Sigstore integration time:
-
Permalink:
TimeXAIgroup/signxai2@bc9353f8dfb6a233be3b577aa5e1c1cbfe11baec -
Branch / Tag:
refs/heads/main - Owner: https://github.com/TimeXAIgroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@bc9353f8dfb6a233be3b577aa5e1c1cbfe11baec -
Trigger Event:
push
-
Statement type: