liveBook · Manning

Partial dependence plot

Also called PDPs

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 →

Also covered in

What to know first

Related concepts

Questions about partial dependence plot

What is 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.

Which Manning books explain partial dependence plot?

Ensemble Methods for Machine Learning and Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI.

What should I know before learning partial dependence plot?

Manning books that teach partial dependence plot usually introduce decision tree first.

What kinds of partial dependence plot are there?

Kinds of partial dependence plot include elasticity plot and individual conditional expectation plot.

What is partial dependence plot also called?

Partial dependence plot is also called PDPs.

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.