Hub
Pricing About
NodeNode / LoopEnd

Shapley Values Loop End

KNIME LabsML Interpretability
Drag & drop
Like

Aggregates the predictions per row to be explained and calculates the Shapley Values for each feature prediction combination. For each explained row (top inputs of the Shapley Values Loop Start node), this node outputs number of prediction columns rows where each row contains the explanation for one prediction column. This kind of explanation row consists of the four columns "RowId", "Target", "Actual prediction", "Deviation from mean prediction", and a row for each feature (selected in the Shapley Values Loop Start node). The meanings of these are as follows:

  • RowId: The RowId of the row of interest.
  • Target: The name of the prediction column that is explained.
  • Actual prediction: The actual prediction your model created for the row of interest.
  • Deviation from mean prediction: The difference between the prediction of the row of interest and the mean prediction of the model. The mean prediction is estimated from the model's predictions on the sampling table (bottom input of the Shapley Values Loop Start node).

Node details

Input ports
  1. Type: Table
    Table containing the rows to explain.
    Table containing predictions for the perturbed rows produced by the Shapley Values Loop Start node
Output ports
  1. Type: Table
    Table containing the Shapley Values.
    Table containing the Shapley Values for each feature-prediction combination

Extension

The Shapley Values Loop End node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

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