CRAN/E | shapr

shapr

Prediction Explanation with Dependence-Aware Shapley Values

Installation

About

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øland (2019) , which accounts for any feature dependence, and thereby produces more accurate estimates of the true Shapley values.

norskregnesentral.github.io/shapr/
github.com/NorskRegnesentral/shapr
Bug report File report

Key Metrics

Version 0.2.2
R ≥ 3.5.0
Published 2023-05-04 348 days ago
Needs compilation? yes
License MIT
License File
CRAN checks shapr results
Language en-US

Downloads

Yesterday 23 0%
Last 7 days 241 -24%
Last 30 days 1.162 +11%
Last 90 days 3.446 +22%
Last 365 days 13.756 -56%

Maintainer

Maintainer

Martin Jullum

Martin.Jullum@nr.no

Authors

Nikolai Sellereite

aut

Martin Jullum

cre / aut

Annabelle Redelmeier

aut

Anders Løland

ctb

Jens Christian Wahl

ctb

Camilla Lingjærde

ctb

Norsk Regnesentral

cph / fnd

Material

README
NEWS
Reference manual
Package source

In Views

MachineLearning

Vignettes

'shapr': Explaining individual machine learning predictions with Shapley values

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

shapr archive

Depends

R ≥ 3.5.0

Imports

stats
data.table
Rcpp ≥ 0.12.15
condMVNorm
mvnfast
Matrix

Suggests

ranger
xgboost
mgcv
testthat
knitr
rmarkdown
roxygen2
MASS
ggplot2
caret
gbm
party
partykit

LinkingTo

RcppArmadillo
Rcpp

Reverse Imports

PPtreeregViz