shapr
Prediction Explanation with Dependence-Aware Shapley Values
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 methods which accounts for any feature dependence, and thereby produces more accurate estimates of the true Shapley values. An accompanying 'Python' wrapper ('shaprpy') is available through the GitHub repository.
- Version1.0.2
- R versionunknown
- LicenseMIT
- LicenseLICENSE
- Needs compilation?Yes
- Languageen-US
- shapr citation info
- Last release02/07/2025
Documentation
- VignetteAsymmetric and causal Shapley value explanations
- Vignette'shapr': Explaining individual machine learning predictions with Shapley values
- VignetteShapley value explanations using the regression paradigm
- VignetteMore details and advanced usage of the 'vaeac' approach
- MaterialREADME
- MaterialNEWS
- In ViewsMachineLearning
Team
Martin Jullum
MaintainerShow author detailsCamilla Lingjærde
Show author detailsRolesContributorNorsk Regnesentral
Show author detailsRolesCopyright holder, fndAnders Løland
Show author detailsRolesContributorLars Henry Berge Olsen
Jens Christian Wahl
Show author detailsRolesContributorAnnabelle Redelmeier
Show author detailsRolesAuthorNikolai Sellereite
Jon Lachmann
Insights
Last 30 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Imports4 packages
- Suggests31 packages
- Linking To2 packages