How would you interpret a partial dependence plot computed from a Random Forest, and why can it mislead when features are correlated?
Last updated
A partial dependence plot (PDP) shows the forest's average prediction as one feature is swept over a grid with all other features held at observed values. Its shape shows the average marginal effect (direction, nonlinearity), not causation.
With correlated features it forces predictions on impossible combinations (e.g. 2 m tall, 40 kg). The forest's arbitrary outputs there are averaged in equally, and effects get split across correlated features.
Averaging can also hide opposing subgroup effects. Use ICE curves for heterogeneity, ALE plots for correlated features, or 2D PDPs for correlated pairs.