Skip to main content

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


Download files

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

Source Distribution

hoocs-0.0.1.tar.gz (450.1 kB view hashes)

Uploaded Source

Built Distribution

hoocs-0.0.1-py3-none-any.whl (50.1 kB view hashes)

Uploaded Python 3

Supported by

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