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 18 Sep. 2026.
Previous versions and publish date:
(2026-09-11 23:00), 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), 1.0.8 (2026-01-20 23:00)
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

injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
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  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

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