@@ -11,10 +11,10 @@ Partial dependence plots (PDP) and individual conditional expectation (ICE)
11
11
plots can be used to visualize and analyze interaction between the target
12
12
response [1 ]_ and a set of input features of interest.
13
13
14
- Both PDPs and ICEs assume that the input features of interest are independent
15
- from the complement features, and this assumption is often violated in practice.
16
- Thus, in the case of correlated features, we will create absurd data points to
17
- compute the PDP/ICE.
14
+ Both PDPs [ H2009 ]_ and ICEs [ G2015 ]_ assume that the input features of interest
15
+ are independent from the complement features, and this assumption is often
16
+ violated in practice. Thus, in the case of correlated features, we will
17
+ create absurd data points to compute the PDP/ICE [ M2019 ]_ .
18
18
19
19
Partial dependence plots
20
20
========================
@@ -164,6 +164,18 @@ PDPs. They can be plotted together with
164
164
... kind= ' both' )
165
165
<...>
166
166
167
+ If there are too many lines in an ICE plot, it can be difficult to see
168
+ differences between individual samples and interpret the model. Centering the
169
+ ICE at the first value on the x-axis, produces centered Individual Conditional
170
+ Expectation (cICE) plots [G2015 ]_. This puts emphasis on the divergence of
171
+ individual conditional expectations from the mean line, thus making it easier
172
+ to explore heterogeneous relationships. cICE plots can be plotted by setting
173
+ `centered=True `:
174
+
175
+ >>> PartialDependenceDisplay.from_estimator(clf, X, features,
176
+ ... kind= ' both' , centered= True )
177
+ <...>
178
+
167
179
Mathematical Definition
168
180
=======================
169
181
@@ -255,15 +267,19 @@ estimators that support it, and 'brute' is used for the rest.
255
267
256
268
.. topic :: References
257
269
258
- T. Hastie, R. Tibshirani and J. Friedman, `The Elements of
259
- Statistical Learning <https://web.stanford.edu/~hastie/ElemStatLearn//> `_,
260
- Second Edition, Section 10.13.2, Springer, 2009.
261
-
262
- C. Molnar, `Interpretable Machine Learning
263
- <https://christophm.github.io/interpretable-ml-book/> `_, Section 5.1, 2019.
264
-
265
- A. Goldstein, A. Kapelner, J. Bleich, and E. Pitkin, :arxiv: `Peeking Inside the
266
- Black Box: Visualizing Statistical Learning With Plots of Individual
267
- Conditional Expectation <1309.6392> `,
268
- Journal of Computational and Graphical Statistics, 24(1): 44-65, Springer,
269
- 2015.
270
+ .. [H2009 ] T. Hastie, R. Tibshirani and J. Friedman,
271
+ `The Elements of Statistical Learning
272
+ <https://web.stanford.edu/~hastie/ElemStatLearn//> `_,
273
+ Second Edition, Section 10.13.2, Springer, 2009.
274
+
275
+ .. [M2019 ] C. Molnar,
276
+ `Interpretable Machine Learning
277
+ <https://christophm.github.io/interpretable-ml-book/> `_,
278
+ Section 5.1, 2019.
279
+
280
+ .. [G2015 ] :arxiv: `A. Goldstein, A. Kapelner, J. Bleich, and E. Pitkin,
281
+ "Peeking Inside the Black Box: Visualizing Statistical
282
+ Learning With Plots of Individual Conditional Expectation"
283
+ Journal of Computational and Graphical Statistics,
284
+ 24(1): 44-65, Springer, 2015.
285
+ <1309.6392> `
0 commit comments