Package: shapr 0.2.3.9200
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 the method described in Aas, Jullum and Løland (2019) <arxiv:1903.10464>, which accounts for any feature dependence, and thereby produces more accurate estimates of the true Shapley values. An accompanying Python wrapper (shaprpy) is available on GitHub.
Authors:
shapr_0.2.3.9200.tar.gz
shapr_0.2.3.9200.zip(r-4.5)shapr_0.2.3.9200.zip(r-4.4)shapr_0.2.3.9200.zip(r-4.3)
shapr_0.2.3.9200.tgz(r-4.4-x86_64)shapr_0.2.3.9200.tgz(r-4.4-arm64)shapr_0.2.3.9200.tgz(r-4.3-x86_64)shapr_0.2.3.9200.tgz(r-4.3-arm64)
shapr_0.2.3.9200.tar.gz(r-4.5-noble)shapr_0.2.3.9200.tar.gz(r-4.4-noble)
shapr_0.2.3.9200.tgz(r-4.4-emscripten)shapr_0.2.3.9200.tgz(r-4.3-emscripten)
shapr.pdf |shapr.html✨
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
explainable-aiexplainable-mlrcpprcpparmadilloshapley
Last updated 5 months agofrom:ddd32c7c92. Checks:OK: 1 ERROR: 8. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 13 2024 |
R-4.5-win-x86_64 | ERROR | Sep 13 2024 |
R-4.5-linux-x86_64 | ERROR | Sep 13 2024 |
R-4.4-win-x86_64 | ERROR | Sep 13 2024 |
R-4.4-mac-x86_64 | ERROR | Sep 13 2024 |
R-4.4-mac-aarch64 | ERROR | Sep 13 2024 |
R-4.3-win-x86_64 | ERROR | Sep 13 2024 |
R-4.3-mac-x86_64 | ERROR | Sep 13 2024 |
R-4.3-mac-aarch64 | ERROR | Sep 13 2024 |
Exports:aicc_full_single_cppcompute_shapley_newcompute_vScorrection_matrix_cppexplainexplain_forecastfeature_combinationsfeature_matrix_cppfinalize_explanationget_cov_matget_data_specsget_model_specsget_mu_vecget_supported_approacheshat_matrix_cppmahalanobis_distance_cppobservation_impute_cppplot_MSEv_eval_critplot_SV_several_approachespredict_modelprepare_dataprepare_data_copula_cppprepare_data_gaussian_cppregression.train_modelrss_cppsetupsetup_approachsetup_computationvaeac_get_evaluation_criteriavaeac_get_extra_para_defaultvaeac_plot_eval_critvaeac_plot_imputed_ggpairsvaeac_train_modelvaeac_train_model_continueweight_matrix_cpp
Dependencies:codetoolsdata.tabledigestfuturefuture.applyglobalslatticelistenvMatrixparallellyRcppRcppArmadillo
shapr: Explaining individual machine learning predictions with Shapley values
Rendered fromunderstanding_shapr.Rmd
usingknitr::rmarkdown
on Sep 13 2024.Last update: 2024-04-17
Started: 2019-09-26
Shapley value explanations using the regression paradigm
Rendered fromunderstanding_shapr_regression.Rmd
usingknitr::rmarkdown
on Sep 13 2024.Last update: 2024-04-17
Started: 2024-04-17
More details and advanced usage of the vaeac approach
Rendered fromunderstanding_shapr_vaeac.Rmd
usingknitr::rmarkdown
on Sep 13 2024.Last update: 2024-04-18
Started: 2024-03-05