Package: shapr 1.0.8.9000

Martin Jullum
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 PyPI.
Authors:
shapr_1.0.8.9000.tar.gz
shapr_1.0.8.9000.zip(r-4.7)shapr_1.0.8.9000.zip(r-4.6)shapr_1.0.8.9000.zip(r-4.5)
shapr_1.0.8.9000.tgz(r-4.6-x86_64)shapr_1.0.8.9000.tgz(r-4.6-arm64)shapr_1.0.8.9000.tgz(r-4.5-x86_64)shapr_1.0.8.9000.tgz(r-4.5-arm64)
shapr_1.0.8.9000.tar.gz(r-4.7-arm64)shapr_1.0.8.9000.tar.gz(r-4.7-x86_64)shapr_1.0.8.9000.tar.gz(r-4.6-arm64)shapr_1.0.8.9000.tar.gz(r-4.6-x86_64)
shapr_1.0.8.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
shapr/json (API)
NEWS
| # Install 'shapr' in R: |
| install.packages('shapr', repos = c('https://norskregnesentral.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/norskregnesentral/shapr/issues
Pkgdown/docs site:https://norskregnesentral.github.io
explainable-aiexplainable-mlrcpprcpparmadilloshapleyopenblascppopenmp
Last updated from:92ed2a232e. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 412 | ||
| linux-devel-x86_64 | OK | 412 | ||
| source / vignettes | OK | 340 | ||
| linux-release-arm64 | OK | 417 | ||
| linux-release-x86_64 | OK | 458 | ||
| macos-release-arm64 | OK | 284 | ||
| macos-release-x86_64 | OK | 775 | ||
| macos-oldrel-arm64 | OK | 357 | ||
| macos-oldrel-x86_64 | OK | 602 | ||
| windows-devel | OK | 389 | ||
| windows-release | OK | 373 | ||
| windows-oldrel | OK | 378 | ||
| wasm-release | OK | 180 |
Exports:additional_regression_setupappend_vS_listcheck_convergencecli_compute_vScli_itercli_startupcoalition_matrix_cppcompute_estimatescompute_shapleycompute_timecompute_vSexplainexplain_forecastfinalize_explanationget_extra_comp_args_defaultget_iterative_args_defaultget_model_specsget_output_args_defaultget_resultsget_supported_approachesget_supported_modelsplot_MSEv_eval_critplot_SV_several_approachesplot_vaeac_eval_critplot_vaeac_imputed_ggpairspredict_modelprepare_dataprepare_data_causalprepare_next_iterationprint_iterregression.train_modelsave_resultssetupsetup_approachshapley_setuptesting_cleanupvaeac_get_evaluation_criteriavaeac_get_extra_para_defaultvaeac_train_modelvaeac_train_model_continueweight_matrix
Dependencies:clicodetoolsdata.tabledigestfuturefuture.applyglobalslatticelistenvMatrixparallellyRcppRcppArmadillorlang
shapr: Explaining individual machine learning predictions with Shapley values
Rendered fromgeneral_usage.Rmdusingknitr::rmarkdownon Jun 09 2026.Last update: 2026-06-09
Started: 2024-12-23
Asymmetric and causal Shapley value explanations
Rendered fromasymmetric_causal.Rmdusingknitr::rmarkdownon Jun 09 2026.Last update: 2026-06-09
Started: 2024-12-23
More details and advanced usage of the vaeac approach
Rendered fromvaeac.Rmdusingknitr::rmarkdownon Jun 09 2026.Last update: 2026-06-09
Started: 2024-12-23
Shapley value explanations using the regression paradigm
Rendered fromregression.Rmdusingknitr::rmarkdownon Jun 09 2026.Last update: 2026-06-09
Started: 2024-12-23