Skip to main content

The SLISEMAP algorithm for combining local explanations with dimensionality reduction

Project description

SLISEMAP: Combining supervised dimensionality reduction with local explanations

SLISEMAP is a supervised dimensionality reduction method, that takes data, in the form of vectors, and predictions from a black box regression or classification model as input. SLISEMAP then simultaneously finds local explanations for all data items and builds a (typically) two-dimensional global visualisation of the black box model such that data items with similar local explanations are projected nearby. The explanations consists of white box models that locally approximate the black box model.

SLISEMAP is implemented in Python using PyTorch for efficient optimisation, and optional GPU-acceleration. For more information see the full paper, the demo paper, the demo video, or the examples directory.

Citation

Björklund, A., Mäkelä, J. & Puolamäki, K. (2022).
SLISEMAP: Supervised dimensionality reduction through local explanations.
arXiv:2201.04455 [cs], https://arxiv.org/abs/2201.04455.

Installation

To install the package just run:

pip install slisemap

Or install the latest version directly from GitHub:

pip install git+https://github.com/edahelsinki/slisemap

PyTorch

Since SLISEMAP utilises PyTorch for efficient calculations, you might want to install a version that is optimised for your hardware. See https://pytorch.org/get-started/locally/ for details.

Example

Example plot of the results from using SLISEMAP on the Auto MPG dataset

See the examples directory for instructions and more detailed examples.

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

slisemap-0.1.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

slisemap-0.1-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file slisemap-0.1.tar.gz.

File metadata

  • Download URL: slisemap-0.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for slisemap-0.1.tar.gz
Algorithm Hash digest
SHA256 f9183bbcc2d9117e7bf21d416b555384fbca119a631d6dcb6bca4a8879d2d018
MD5 e99e67f3f1833c4cbc0a5b4d5b8241ee
BLAKE2b-256 22237a44e9bd57673e33e08116d6b650b4ce3b87b0bd31bce3ffde9924044914

See more details on using hashes here.

File details

Details for the file slisemap-0.1-py3-none-any.whl.

File metadata

  • Download URL: slisemap-0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for slisemap-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01fa201ec6a761904a28cd2198bfd65d44ff629146ac61ebd1af89b5b73a60b2
MD5 bfc818524e29992c4fe84f268431f27e
BLAKE2b-256 ef347fc994da488af154fb59c9a280cca98b263608cf564bc372605074344c97

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