liveBook · Manning

Partial dependence plot

A partial dependence plot shows a model's average predicted response as selected features vary, averaging over the values of the remaining features.

How 2 Manning books explain it

Ensemble Methods for Machine Learning

A partial dependence function is the average model prediction obtained by fixing selected feature values and integrating or averaging over the remaining features.

How it is used
Explains global relationships between selected features and predictions for black-box models.
How deep it goes
Defines marginalization and gives a stepwise approximation, while stopping short of formal integral details.
Examples
Uses Bank Marketing variables, column replacement, averaged predictions, and four plotted PDPs.
What you can do after
Apply PDPs through scikit-learn’s PartialDependenceDisplay to visualize selected feature relationships.

Read how Ensemble Methods for Machine Learning explains partial dependence plot →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A partial dependence plot displays a model's average predicted response as one or more input features vary while marginalizing over other features.

How it is used
Uses model-agnostic charts to inspect feature–target relationships and guide numerical transformations.
How deep it goes
Defines averaging and independence assumptions, demonstrates plots, and stops short of resolving correlated-feature effects.
Examples
Uses Airbnb NYC numeric features, binary-feature boxplots, ICE panels, and conjoint plots for suspected interactions.
What you can do after
Apply PDPs through scikit-learn’s PartialDependenceDisplay to inspect a fitted XGBoost pipeline.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains partial dependence plot →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.