Partial Dependence Plots
ICE gives one line per instance. Average those lines and you get a partial dependence plot, or PDP.
The summary answers: on average, how does the model prediction change as this feature changes?
Average marginal effect
For feature set :
The selected feature values vary. The remaining values come from each observed instance, and predictions are averaged.
Blend ICE Curves into a PDP
Toggle the individual bicycle-demand curves behind the global average. The bold PDP is literally their pointwise mean.
PDP bicycle demand
66 rentals
PDPs are clear and easy to implement. They also assume the varied feature can be combined freely with the remaining features — and that assumption breaks when features are correlated.
PDP Correlation Bias — Engine Size vs. Horsepower
The model predicts car price from engine size and horsepower. Because these features are strongly correlated, the PDP method creates unrealistic combinations when sweeping engine size.
Selected: 3.0L engine
PDP avg price
$56.6k
Realistic avg
$57.0k
Unrealistic cars
13 of 20
Bias (PDP − real)
-0.4k
Training data — engine size vs. horsepower
Predicted price vs. engine size
Engine size and horsepower make the failure concrete: when the PDP sweeps engine size to 5.0L it averages over every car in the dataset — including compact cars with 100 hp that simply don't exist at that displacement. Inspect ICE curves and feature correlations before trusting the average line.
What information does a PDP lose when ICE curves cross?