Package: mshap 0.1.0.9001

mshap: Multiplicative SHAP Values for Two-Part Models

Allows for the computation of mSHAP values on two-part models as proposed by Matthews, S. and Hartman, B. (2021) <arxiv:2106.08990>. 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>.

Authors:Spencer Matthews [aut, cre]

mshap_0.1.0.9001.tar.gz
mshap_0.1.0.9001.zip(r-4.5)mshap_0.1.0.9001.zip(r-4.4)mshap_0.1.0.9001.zip(r-4.3)
mshap_0.1.0.9001.tgz(r-4.4-any)mshap_0.1.0.9001.tgz(r-4.3-any)
mshap_0.1.0.9001.tar.gz(r-4.5-noble)mshap_0.1.0.9001.tar.gz(r-4.4-noble)
mshap_0.1.0.9001.tgz(r-4.4-emscripten)mshap_0.1.0.9001.tgz(r-4.3-emscripten)
mshap.pdf |mshap.html
mshap/json (API)
NEWS

# Install 'mshap' in R:
install.packages('mshap', repos = c('https://srmatth.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/srmatth/mshap/issues

On CRAN:

explainable-aishap

4.78 score 4 stars 15 scripts 184 downloads 3 exports 40 dependencies

Last updated 3 years agofrom:3a0c7b1411. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winNOTENov 17 2024
R-4.5-linuxNOTENov 17 2024
R-4.4-winNOTENov 17 2024
R-4.4-macNOTENov 17 2024
R-4.3-winNOTENov 17 2024
R-4.3-macNOTENov 17 2024

Exports:mshapobservation_plotsummary_plot

Dependencies:beeswarmclicolorspacecpp11dplyrfansifarverforcatsgenericsggbeeswarmggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviporviridisLitewithr

mSHAP

Rendered frommSHAP.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2021-06-15
Started: 2021-04-13

mshap_plots

Rendered frommshap_plots.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2021-06-15
Started: 2021-04-18