Hub
Pricing About
WorkflowWorkflow

Compute Local Model-agnostic Explanations (LIMEs)

LIMEMachine learning interpretabilityMliExplanationInstance-level explanation
+7
knime profile image
Versionv1.0Latest, created on 
Oct 25, 2023 3:16 PM
Drag & drop
Like
Download workflow
Workflow preview
This is an example for computing explanation using LIME. An XGBoost model was picked, but any model and its set of Learner and Predictor nodes can be used. - Read the dataset about wines - Partition the data in train and test - Pick few test set instances rows to explain - Create local samples for each instance in the input table (LIME Loop Start) - Score the samples using the predictor node and a trained model - Compute LIMEs, that is local model-agnostic explanations by training a local GLM using the samples and extracting the weights. - Visualize them in the Composite View (Right Click > Open View)

External resources

  • Data Source: UCI - Wine Quality Data Set
  • LIME - Local Interpretable Model-Agnostic Explanations, Marco Tulio Ribeiro, Blog Post
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.6.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME Data GenerationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME H2O Machine Learning IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME Machine Learning Interpretability ExtensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME Math Expression (JEP)Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME PlotlyTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime
  • Go to item
    KNIME XGBoost IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.6.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits