/fastshap

Fast approximate Shapley values in R

Primary LanguageR

fastshap

CRAN status R-CMD-check Codecov test coverage Lifecycle: experimental

The goal of fastshap is to provide an efficient and speedy (relative to other implementations) approach to computing approximate Shapley values which help explain the predictions from machine learning models.

Installation

# Install the latest stable version from CRAN:
install.packages("fastshap")

# Install the latest development version from GitHub:
if (!requireNamespace("remotes")) {
  install.packages("remotes")
}
remotes::install_github("bgreenwell/fastshap")