Feature summary explanations
This section will cover a number of methods used to visualize how an individual feature impacts the outcome.
Partial dependence plots
Partial Dependence Plots (PDPs) display a feature’s relationship with the outcome according to the model. In essence, the PDP illustrates the marginal effect of a feature on the model’s predicted output across all possible values of that feature.
The calculation involves two steps:
- Initially, conduct a simulation where the feature value for each observation is altered to a range of different values, and predict the model using those values. For example, if the
year
varies between 1984 and 2022, create copies of each observation withyear
values ranging between these two numbers. Then, run the model using these values. This first step can be plotted as the Individual Conditional Expectation (ICE) plot, with simulated values foryear
on the X-axis and the model output on the Y-axis, and...