Generate Partial Dependency Plot Data
Synopsis
Partial Dependency Plots are used to understand the influence of a single attribute on a prediction.
Description
In order to get PDP data for an attribute k (only possible for numerical attributes) we:
-
- take a value x between the minimum and maximum of attribute k.
-
- set the attribute value of all examples in the ExampleSet to this value
-
- score the ExampleSet and calculate the average response. The response is either the predicted regression value or the average confidence of the positive class.
For more information on PDP see https://christophm.github.io/interpretable-ml-book/pdp.html.
Input
exa
The input ExampleSet.