Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Visualizing the Effects of Predictor Variables in Black Box Supervised Learning Models

About

When fitting black box supervised learning models (e.g., complex trees, neural networks, boosted trees, random forests, nearest neighbors, local kernel-weighted methods, etc.), visualizing the main effects of the individual predictor variables and their low-order interaction effects is often important, and partial dependence (PD) plots are the most popular approach for accomplishing this. However, PD plots involve a serious pitfall if the predictor variables are far from independent, which is quite common with large observational data sets. Namely, PD plots require extrapolation of the response at predictor values that are far outside the multivariate envelope of the training data, which can render the PD plots unreliable. Although marginal plots (M plots) do not require such extrapolation, they produce substantially biased and misleading results when the predictors are dependent, analogous to the omitted variable bias in regression. We present a new visualization approach that we term accumulated local effects (ALE) plots, which inherits the desirable characteristics of PD and M plots, without inheriting their preceding shortcomings. Like M plots, ALE plots do not require extrapolation; and like PD plots, they are not biased by the omitted variable phenomenon. Moreover, ALE plots are far less computationally expensive than PD plots.

Daniel W. Apley, Jingyu Zhu• 2016

Related benchmarks

TaskDatasetResultRank
All-variables main effect estimationSynthetic Unif[0, 1]^p n=500 (train)
Mean Wall-Clock Time (s)0.056
15
Single-variable main effect estimationSynthetic Unif[0, 1]^p (p=4) (train)
Mean Wall-Clock Time (s)0.006
15
Model Explanation AlignmentSynthetic
RMSE (Validation)0.107
6
Model Explanation AlignmentAirfoil
Validation RMSE1.487
6
Model Explanation AlignmentEnergy
Validation RMSE0.581
6
K-NN RegressionAdditive benchmark functions Independent dependence
f0 Mean ORMSE0.1093
5
K-NN RegressionAdditive benchmark functions Low dependence
f0 Mean ORMSE0.1123
5
K-NN RegressionAdditive benchmark functions High dependence
Mean ORMSE (f0)0.122
5
Main-effect function estimationfranke Low dependence Synthetic
ORMSE0.113
3
Main-effect function estimationfranke High dependence Synthetic
ORMSE0.173
3
Showing 10 of 17 rows

Other info

Follow for update