Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • Nodes
  • Partial Dependence/ICE Plot
NodeNode / Visualizer

Partial Dependence/ICE Plot

KNIME Labs ML Interpretability
Drag & drop
Like
Copy short link

This node requires the use of the Partial Dependence Pre-processing Component to sample the relevant data. This Component can be found on the EXAMPLES server. You can also navigate to the component via EXAMPLES > 00_Components > Model Interpretability > Partial Dependence Pre-processing.

For an example of how to use this node as well as the required Partial Dependence Pre-processing Component, please see this workflow on the KNIME Hub.

This node is able to visualize how the prediction at the output of a model reacts as a single column is changed in a defined range. Such visualization can help you interpret how any model is using a single column locally, that is visualizing the prediction change instance by instance, and globally, visualizing an overall behavior valid for the majority of the instances but not the outliers.

The Individual Conditional Expectation (ICE) visualizes the prediction change locally to a single instance in a simple line plot. You can visualize many ICE plots by having multiple lines in the same charts. Use the markers in the shape of dots to keep track the original column value and the original prediction each instance has. To visualize colors for different groups/category/clusters add a Color Manager node before this node.

The Partial Dependence Plot (PDP) visualizes the global average prediction change over a number of instances in a line plot. By default you can also visualize how widely the single instances predictions vary from the average by means of a colored area around the line plot.

The generated view is highly interactive and custom to your needs. Change the opacity and sizes of the visual elements to your needs from the node dialogue. From the view itself you can toggle between displaying both ICEs and PDP or just one of them.

ICE is useful to assess the exact prediction change an a single instance or on a small group of instances. When visualizing a global behavior of the model for many instances PDP can be useful, even if it could simplify too much the complexity behind such predictions.

The best way to use this node is in a Composite View by interactively filtering and selecting groups of similar instances.

The node supports custom CSS styling. You can simply put CSS rules into a single string and set it as a flow variable 'customCSS' in the node configuration dialog. You will find the list of available classes and their description on our documentation page .

Node details

Input ports
  1. Type: Table
    Sampled predictions table
    Sampled predictions table created by the "Partial Dependence Pre-processing" Component and the model Predictor node.
  2. Type: Table
    Original data table
    A table with original rows from the data set used to validate the model.
Output ports
  1. Type: Image
    Image port
    An SVG image representation of the view if "Generate Image" option was enabled.
  2. Type: Table
    Output table
    Data table containing the input original rows with a Boolean column appended that represents the selections made in the view.

Extension

The Partial Dependence/ICE Plot node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    Partial Dependence Plot with a Custom Regression Model
    Partial dependence Pdp Pdp plot
    +16
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    k10shetty1 > XAI Space > Regression > Custom Models > 04_Partial_Dependence_Pre-processing
  2. Go to item
    Partial Dependence Plot Example
    Partial dependence Pdp Pdp plot
    +13
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    knime > Examples > 04_Analytics > 17_Machine_Learning_Interpretability > 02_Partial_Dependence_Pre-processing
  3. Go to item
    Partial Dependence Plot Example
    Partial dependence Pdp Pdp plot
    +13
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    keith_mccormick > Public > 02_Partial_Dependence_Pre-processing
  4. Go to item
    Partial Dependence Plot with a Custom Model
    Partial dependence Pdp Pdp plot
    +13
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    k10shetty1 > XAI Space > Classification > Custom Models > 08_Partial_Dependence_Pre-processing
  5. Go to item
    Interpretable ML - Partial Dependence Plot
    A Partial Dependence Plot shows how a single continuous predictor variable impacts the ou…
    saqib > Public > Interpretable ML - Partial Dependence Plot
  6. Go to item
    Partial Dependence Plot with AutoML (Regression)
    Partial dependence Pdp Pdp plot
    +16
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    k10shetty1 > XAI Space > Regression > AutoML > 04_Partial_Dependence_Pre-processing
  7. Go to item
    Partial Dependence Plot with AutoML
    Partial dependence Pdp Pdp plot
    +14
    This is an example for visualizing a partial dependence plot and an ICE curves plot in KN…
    k10shetty1 > XAI Space > Classification > AutoML > 08_Partial_Dependence_Pre-processing
  8. Go to item
    Interactive MLI Composite View
    Machine learning interpretability MLI PDP
    +14
    This worflow will show how to use the interactive views of JavaScript nodes to visualize …
    knime > Examples > 04_Analytics > 17_Machine_Learning_Interpretability > 05_Interactive_MLI_Composite_View
  9. Go to item
    XAI View Component with a Custom Model
    Guided analytics Integrated deployment XAI
    +7
    This application is a simple example of Xgboost model with KNIME Software for binary and …
    k10shetty1 > XAI Space > Classification > Custom Models > 02_Explainable_Artificial_Intelligence_(XAI)
  10. Go to item
    Guided Analytics with Shared Components - Preview
    Guided analytics Shared component AutoML
    +13
    --------------- !!! DISCLAIMER !!! --------------- These Components are not-verified Beta…
    paolotamag > Public > Guided_Analytics_with_Shared_Components

No known nodes available

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits