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
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
Data
feature_value(float) — grid of values for the feature of interestprediction(float) — predicted outcome for each observation at each grid pointobservation_id(int) — identifier for each observationNotes