Skip to main content

Visual saliency map generation interfaces and baseline implementations for explainable AI.

Project description

xaitk-logo


PyPI - Python Version PyPI - Python Version Documentation Status badge-unittests badge-notebooks codecov Language grade: Python

XAITK - Saliency

The xaitk-saliency package is an open source, Explainable AI (XAI) framework for visual saliency algorithm interfaces and implementations, built for analytics and autonomy applications.

See here for a more formal introduction to the topic of XAI and visual saliency explanations.

This framework is a part of the Explainable AI Toolkit (XAITK).

Supported Algorithms

The xaitk-saliency package provides saliency algorithms for a wide range of image understanding tasks, including image classification, image similarity, object detection, and reinforcement learning. The current list of supported saliency algorithms can be found here.

Target Audience

This toolkit is intended to help data scientists and developers who want to add visual saliency explanations to their workflow or product. Functionality provided here is both directly accessible for targeted experimentation, and through Strategy and Adapter patterns to allow for modular integration into systems and applications.

Installation

Install the latest release via pip:

pip install xaitk-saliency

Some plugins may require additional dependencies in order to be utilized at runtime. Such details are described here.

See here for more installation documentation.

Getting Started

We provide a number of examples based on Jupyter notebooks in the ./examples/ directory to show usage of the xaitk-saliency package in a number of different contexts.

Contributions are welcome! See the CONTRIBUTING.md file for details.

Documentation

Documentation snapshots for releases as well as the latest master are hosted on ReadTheDocs.

The sphinx-based documentation may also be built locally for the most up-to-date reference:

# Install dependencies
poetry install
# Navigate to the documentation root.
cd docs
# Build the docs.
poetry run make html
# Open in your favorite browser!
firefox _build/html/index.html

XAITK Saliency Demonstration Tool

This associated project provides a local web-application that provides a demonstration of visual saliency generation in a user-interface. This provides an example of how visual saliency, as generated by this package, can be utilized in a user-interface to facilitate model and results exploration. This tool uses the trame framework.

image1 image2 image3 image4

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

xaitk_saliency-0.8.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

xaitk_saliency-0.8.0-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file xaitk_saliency-0.8.0.tar.gz.

File metadata

  • Download URL: xaitk_saliency-0.8.0.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1021-azure

File hashes

Hashes for xaitk_saliency-0.8.0.tar.gz
Algorithm Hash digest
SHA256 afeb1e7013b088a6215be018904c7154c92a32e88a2ef9b99ccd6fe9231bf7eb
MD5 1013cb741787a4b81f17c0514484c78a
BLAKE2b-256 3d39f0778b8846920ed2f29990c601c7e926fea8defd71514a9f22a4b601411d

See more details on using hashes here.

File details

Details for the file xaitk_saliency-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: xaitk_saliency-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 54.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.8.19 Linux/6.5.0-1021-azure

File hashes

Hashes for xaitk_saliency-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f8ff35e2772e848270c8d361aed0241c9fbedd0a0c366c9b501c46df1911b83
MD5 62b08dbe4f8717b0ad3a3976674f6eeb
BLAKE2b-256 f4263792f4f706d6ba53341bf9ed313dd1a9da542ccab3847b9a53fd53444a13

See more details on using hashes here.

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