Other packages > Find by keyword >

shapr  

Prediction Explanation with Dependence-Aware Shapley Values
View on CRAN: Click here


Download and install shapr package within the R console
Install from CRAN:
install.packages("shapr")

Install from Github:
library("remotes")
install_github("cran/shapr")

Install by package version:
library("remotes")
install_version("shapr", "1.0.8")



Attach the package and use:
library("shapr")
Maintained by
Martin Jullum
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-09-03
Latest Update: 2025-04-28
Description:
Complex machine learning models are often hard to interpret. However, in many situations it is crucial to understand and explain why a model made a specific prediction. Shapley values is the only method for such prediction explanation framework with a solid theoretical foundation. Previously known methods for estimating the Shapley values do, however, assume feature independence. This package implements the method described in Aas, Jullum and L
How to cite:
Martin Jullum (2020). shapr: Prediction Explanation with Dependence-Aware Shapley Values. R package version 1.0.8, https://cran.r-project.org/web/packages/shapr. Accessed 06 Mar. 2026.
Previous versions and publish date:
0.1.2 (2020-09-03 10:20), 0.1.3 (2020-09-04 00:10), 0.1.4 (2021-01-21 17:20), 0.2.0 (2021-01-28 16:30), 0.2.1 (2023-02-27 23:10), 0.2.2 (2023-05-04 16:10), 1.0.1 (2025-01-16 14:00), 1.0.2 (2025-02-07 01:40), 1.0.3 (2025-04-01 12:41), 1.0.4 (2025-04-28 15:00), 1.0.5 (2025-08-25 14:50), 1.0.6 (2025-11-17 16:00), 1.0.7 (2025-12-22 17:30)
Other packages that cited shapr R package
View shapr citation profile
Other R packages that shapr depends, imports, suggests or enhances
Complete documentation for shapr
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA