Skip to content

[ice-basic] Individual Conditional Expectation (ICE) Plot #5238

@MarkusNeusinger

Description

@MarkusNeusinger

Description

An ICE plot shows how the predicted outcome of a model changes as a single feature varies, with one line per observation. Unlike partial dependence plots (PDP) that show the average effect, ICE plots reveal heterogeneous effects and interactions by displaying individual prediction curves. This is an important complement to the existing pdp-basic spec.

Applications

  • Detecting feature interactions in ensemble models
  • Identifying subgroups with different feature responses
  • Validating monotonicity assumptions in pricing models
  • Exploring non-linear effects in clinical prediction models

Data

  • feature_value (float) — grid of values for the feature of interest
  • prediction (float) — predicted outcome for each observation at each grid point
  • observation_id (int) — identifier for each observation
  • Size: 50–200 observations × 50–100 grid points

Notes

  • Individual lines should be semi-transparent to show density
  • Optionally overlay the PDP (bold average line)
  • Centered ICE variant (c-ICE) shifts all lines to start at zero

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedApproved for implementationspec-readySpecification merged to main

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions