vip
is an R package for constructing variable importance
plots (VIPs). VIPs are part of a larger framework referred to as
interpretable machine learning (IML), which includes (but not limited
to): partial dependence plots (PDPs) and individual conditional
expectation (ICE) curves. While PDPs and ICE curves (available in the R
package pdp) help visualize
feature effects, VIPs help visualize feature impact (either locally or
globally). An in-progress, but comprehensive, overview of IML can be
found here: https://github.com/christophM/interpretable-ml-book.
# The easiest way to get vip is to install it from CRAN:
install.packages("vip")
# Alternatively, you can install the development version from GitHub:
if (!requireNamespace("remotes")) {
install.packages("remotes")
}
remotes::install_github("koalaverse/vip")
For details and example usage, visit the vip package website.