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 25 Jun. 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

sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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