SkillAgentSearch skills...

Fastshap

Fast approximate Shapley values in R

Install / Use

/learn @bgreenwell/Fastshap

README

<!-- README.md is generated from README.Rmd. Please edit that file -->

fastshap <img src='man/figures/logo-fastshap.png' align="right" height="139" />

<!-- badges: start -->

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

<!-- badges: end -->

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

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")
View on GitHub
GitHub Stars132
CategoryEducation
Updated19d ago
Forks17

Languages

R

Security Score

85/100

Audited on Mar 15, 2026

No findings