slime

Semantic features for LIME

https://github.com/pleask/slime

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Semantic features for LIME

Basic Info
  • Host: GitHub
  • Owner: pleask
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 473 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

sLIME

sLIME (semantic LIME) provides a generic interface to the Local Interpretable Model-Agnostic Explanations package, allowing for construction of arbitrary transformers that remove features / concepts from data instances. For example, with images, the original package only implements superpixels as features; with sLIME it is possible to consider human-level concepts, such as eyes or ears, in the local models.

The dissertation associated with this project is here - I probably won't be writing this into a shorter paper.

Tutorials

The following tutorials are / will be available in the repository. - Superpixel segmentation: Recreates the superpixel segmentation tutorial from the LIME repo as a basic introduction to transformers and perturbers. - Generated datasets: How to explain classifications on a generated dataset where the user can create arbitrary in-distribution images through feature perturbation. - Training transformers from generated datasets: How to train transformers on a dataset where the user has access to examples of images with and without features (eg. the same background with and without a foreground object). - Training transformers from feature detectors (not yet available): How to train transformers on a dataset where the user only has accessed to examples that are labelled as to whether they contain a feature or not.

Owner

  • Name: Patrick Leask
  • Login: pleask
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Leask"
  given-names: "Patrick"
  orcid: "https://orcid.org/0000-0002-2694-4814"
title: "sLIME"
version: 1.0.0
date-released: 2022-09-17
url: "https://github.com/pleask/sLIME"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Dependencies

setup.py pypi
  • lime *
  • numpy *
  • sklearn *
  • tqdm *