Package: shapr 1.0.8.9001

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 ('pyshapr') is available through PyPI.
Authors:
shapr_1.0.8.9001.tar.gz
shapr_1.0.8.9001.zip(r-4.7)shapr_1.0.8.9001.zip(r-4.6)shapr_1.0.8.9001.zip(r-4.5)
shapr_1.0.8.9001.tgz(r-4.6-x86_64)shapr_1.0.8.9001.tgz(r-4.6-arm64)shapr_1.0.8.9001.tgz(r-4.5-x86_64)shapr_1.0.8.9001.tgz(r-4.5-arm64)
shapr_1.0.8.9001.tar.gz(r-4.7-arm64)shapr_1.0.8.9001.tar.gz(r-4.7-x86_64)shapr_1.0.8.9001.tar.gz(r-4.6-arm64)shapr_1.0.8.9001.tar.gz(r-4.6-x86_64)
shapr_1.0.8.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
shapr/json (API)
| # 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:2689d24d86. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 372 | ||
| linux-devel-x86_64 | OK | 410 | ||
| source / vignettes | OK | 327 | ||
| linux-release-arm64 | OK | 380 | ||
| linux-release-x86_64 | OK | 365 | ||
| macos-release-arm64 | OK | 293 | ||
| macos-release-x86_64 | OK | 603 | ||
| macos-oldrel-arm64 | OK | 228 | ||
| macos-oldrel-x86_64 | OK | 608 | ||
| windows-devel | OK | 406 | ||
| windows-release | OK | 366 | ||
| windows-oldrel | OK | 522 | ||
| wasm-release | OK | 224 |
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
Last update: 2026-06-23
Started: 2024-12-23
Last update: 2026-06-17
Started: 2024-12-23
Last update: 2026-06-17
Started: 2024-12-23
Last update: 2026-06-09
Started: 2024-12-23