CRAN/E | mshap

mshap

Multiplicative SHAP Values for Two-Part Models

Installation

About

Allows for the computation of mSHAP values on two-part models as proposed by Matthews, S. and Hartman, B. (2021) . Also contains functions for simple plotting of the results (or any SHAP values). For information about the TreeSHAP algorithm that mSHAP builds on, see Lundberg, S.M., Erion, G., Chen, H., DeGrave, A., Prutkin, J.M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., Lee, S.I. (2020) doi:10.1038/s42256-019-0138-9.

Key Metrics

Version 0.1.0
R ≥ 2.10
Published 2021-06-17 1210 days ago
Needs compilation? no
License MIT
License File
CRAN checks mshap results

Downloads

Yesterday 9 +125%
Last 7 days 29 -26%
Last 30 days 167 -18%
Last 90 days 532 +2%
Last 365 days 2.205 +3%

Maintainer

Maintainer

Spencer Matthews

Authors

Spencer Matthews

aut / cre

Material

README
NEWS
Reference manual
Package source

Vignettes

mSHAP
mshap_plots

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

Depends

R ≥ 2.10

Imports

magrittr ≥ 1.5
purrr ≥ 0.3.4
dplyr ≥ 1.0.4
forcats
stringr
ggplot2
ggbeeswarm
rlang
tidyr
tidyselect

Suggests

rmarkdown
knitr
insuranceData
reticulate
caret
testthat ≥ 3.0.0
covr