Hub
Pricing About
ComponentComponent

K-means LIME

H
Draft Latest edits on 
Mar 3, 2020 9:47 AM
Drag & drop
Like
Use or download
This is an implementation of the model explanation technique developed by H2O.ai called K-LIME using the KNIME H2O Machine Learning Integration. To find more informations about the K-LIME machine learning interpretability technique please refer to the H2O.ai documentation: h2o.ai/wp-content/uploads/2017/09/driverlessai/interpreting.html#k-lime The component allows to cluster input data and build local linear models to explain predictions of a complex black-box-like model. The optimal number of clusters is defined by the optimal value of R^2 value summed over all models in clusters. The number of linear models built is much lower than the corresponding number in the LIME algorithm, where a model is build in the neighbourhoud of each explanation instance. Thus, the algorithm is expected to be faster for large data samples. Note, that this implementation of K-LIME can not handle missing values and all rows with missing values will be dropped. Thus, no explanations for those will be available. If you want to get explanations for all input rows, please, fill missing values before fedding the data into the app. Also note, that all but the selected column with predictions will be used to interpret prediction. Therefore, you have to filter out all irrelevant columns as well as the original target column prioir to feeding a table to the input. Categorical features will be converted into numerical representation using One-Hot Encoding (OHE) (also called "dummy" or "binary"). Numerical features will be scaled as required by linear models. The only pre-processing steps that might be required from the user is to remove outliers and fill missing values, as those might bias surrogate models that are used by the algorithm.

Component details

Input ports
  1. Type: Table
    Input data
    Table with features and predictions.
Output ports
  1. Type: Table
    Predictions and feature contributions
    Original and surrogate predictions as well as individual feature contributions.
  2. Type: Table
    Surrogate predictions
    Cluster and global prediction per input row.

Used extensions & nodes

Created with KNIME Analytics Platform version 4.1.1
  • Go to item
    KNIME CoreTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

    knime
  • Go to item
    KNIME Ensemble Learning WrappersTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

    knime
  • Go to item
    KNIME H2O Machine Learning IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

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

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

    knime
  • Go to item
    KNIME Optimization extensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.1

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, 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