Occlusion-based explainers for higher-order attributions.
Project description
Higher Order OCclusion (hoocs)
Introduction
Hoocs implements a broad range of model-agnostic attributions
Recently, there has been increasing interest in more in-depth analysis of models. To meet this needs, the analysis of feature interactions is inevitable. Therefore, this package allows to calculate arbitrary higher-order explanations. Tt is extendable to other methods, which rely on marginalizing features in input space.
Installation
pip install hoocs
Implement new imputers
To enable reliable attributions, hooks enables simple incorporation of custom imputers for any kind of data modality.
To add a new imputer, the user is requested to inherent from the abstract base Imputer
class in hoocs.imputers.abstract_imputers.py
.
This class performs basic type checking and ensures a consistent interface.
References
[1] Explaining classifications for individual instances.
[2] PredDiff: Explanations and interactions from conditional expectations
[3] An efficient explanation of individual classifications using game theory
[4] A Unified Approach to Interpreting Model Predictions
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
File details
Details for the file hoocs-0.0.1.tar.gz
.
File metadata
- Download URL: hoocs-0.0.1.tar.gz
- Upload date:
- Size: 450.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d0bcc995b40212a86b69a8a0060b408ee5e951a467dcb2568a4a28cc255dcb7 |
|
MD5 | 09335eb38f5899f5528ee1afbda597f1 |
|
BLAKE2b-256 | 8b26a43d0500c86500b49e90406809adf834c9f1f48fafd44ef9fbf6a621da1f |
File details
Details for the file hoocs-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: hoocs-0.0.1-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e34b21c2c55a495704d0a65021fbc8f2003a90db66a52fdb5abba6b2956c3a0f |
|
MD5 | bd3430d17c71bf6778c1c4c8cc84bc78 |
|
BLAKE2b-256 | 80b3058a56fa0f5fba6e608c40ce7a55347ee42daf773ffd0d446201742391dd |