Variable Importance and Variable Interaction Displays

A suite of plots for displaying variable importance and two-way variable interaction jointly. Can also display partial dependence plots laid out in a pairs plot or 'zenplots' style.


vivid

codecov

Variable importance, interaction measures and partial dependence plots are important summaries in the interpretation of statistical and machine learning models. In our R package vivid (variable importance and variable interaction displays) we create new visualisation techniques for exploring these model summaries. We construct heatmap and graph-based displays showing variable importance and interaction jointly, which are carefully designed to highlight important aspects of the fit. We also construct a new matrix-type layout showing all single and bivariate partial dependence plots, and an alternative layout based on graph Eulerians focusing on key subsets. Our new visualisations are model-agnostic and are applicable to regression and classification supervised learning settings. They enhance interpretation even in situations where the number of variables is large and the interaction structure complex. A practical example of the package in use can be found here: https://alaninglis.github.io/vivid/articles/vividVignette.html

Installation

The zenplots package (which is used within vivid) requires the graph package from BioConductor. To install the graph and zenplots packages use:

if (!requireNamespace("graph", quietly = TRUE)){
  install.packages("BiocManager")
  BiocManager::install("graph")
}
install.packages("zenplots")

You can install the released version of vivid from CRAN with:

install.packages("vivid")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("AlanInglis/vivid")

You can then load the package with:

library(vivid)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("vivid")

0.3.0 by Alan Inglis, a year ago


https://alaninglis.github.io/vivid/


Browse source code at https://github.com/cran/vivid


Authors: Alan Inglis [aut, cre] , Andrew Parnell [aut] , Catherine Hurley [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports condvis2, ggplot2, GGally, RColorBrewer, colorspace, stats, DendSer, dplyr, igraph, flashlight, ggnewscale, sp, gtable

Suggests intergraph, network, sna, mlr, MASS, tidymodels, e1071, gridExtra, mlr3, mlr3learners, scales, ranger, vip, randomForest, testthat, labeling, zenplots, covr, xgboost, bartMachine, caret, gbm, keras


Suggested by mpae.


See at CRAN