An individual conditional expectation (ICE) plot shows how predicted responses change for individual observations as one feature varies. The curves are the individual components behind a partial dependence plot (PDP) average. section 6.1.4
Use ICE plots before transforming a numerical feature. When sampled curves cluster around the PDP, the average relationship is representative; dispersed or differently shaped curves indicate that collinearity or interactions mediate the feature’s effect. section 6.1.4
Checking a feature relationship
Fit the model pipeline, then call PartialDependenceDisplay.from_estimator with kind='both' and subsample=30. Compare the sampled individual curves with the lighter dashed PDP average. section 6.1.4
