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:
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')) |
Bug tracker:https://github.com/srmatth/mshap/issues
Last updated 3 years agofrom:3a0c7b1411. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 17 2024 |
R-4.5-win | NOTE | Nov 17 2024 |
R-4.5-linux | NOTE | Nov 17 2024 |
R-4.4-win | NOTE | Nov 17 2024 |
R-4.4-mac | NOTE | Nov 17 2024 |
R-4.3-win | NOTE | Nov 17 2024 |
R-4.3-mac | NOTE | Nov 17 2024 |
Exports:mshapobservation_plotsummary_plot
Dependencies:beeswarmclicolorspacecpp11dplyrfansifarverforcatsgenericsggbeeswarmggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviporviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
mSHAP | mshap |
SHAP Observation Plot | observation_plot |
SHAP Summary Plot | summary_plot |
Select variables with a function | where |