How would you interpret a partial dependence plot computed from a Random Forest, and why can it mislead when features are correlated?

Last updated 5 November 2026

  • 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.

  • https://scikit-learn.org/stable/modules/partial_dependence.html
  • https://ema.drwhy.ai/partialDependenceProfiles.html
  • https://christophm.github.io/interpretable-ml-book/pdp.html
All Random Forests interview questions