Package: shapper 0.1.4
shapper: Wrapper of Python Library 'shap'
Provides SHAP explanations of machine learning models. In applied machine learning, there is a strong belief that we need to strike a balance between interpretability and accuracy. However, in field of the Interpretable Machine Learning, there are more and more new ideas for explaining black-box models. One of the best known method for local explanations is SHapley Additive exPlanations (SHAP) introduced by Lundberg, S., et al., (2016) <arxiv:1705.07874> The SHAP method is used to calculate influences of variables on the particular observation. This method is based on Shapley values, a technique used in game theory. The R package 'shapper' is a port of the Python library 'shap'.
Authors:
shapper_0.1.4.tar.gz
shapper_0.1.4.zip(r-4.5)shapper_0.1.4.zip(r-4.4)shapper_0.1.4.zip(r-4.3)
shapper_0.1.4.tgz(r-4.4-any)shapper_0.1.4.tgz(r-4.3-any)
shapper_0.1.4.tar.gz(r-4.5-noble)shapper_0.1.4.tar.gz(r-4.4-noble)
shapper_0.1.4.tgz(r-4.4-emscripten)shapper_0.1.4.tgz(r-4.3-emscripten)
shapper.pdf |shapper.html✨
shapper/json (API)
NEWS
# Install 'shapper' in R: |
install.packages('shapper', repos = c('https://modeloriented.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/modeloriented/shapper/issues
Last updated 2 years agofrom:3b54449553. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win | OK | Nov 08 2024 |
R-4.5-linux | OK | Nov 08 2024 |
R-4.4-win | OK | Nov 08 2024 |
R-4.4-mac | OK | Nov 08 2024 |
R-4.3-win | OK | Nov 08 2024 |
R-4.3-mac | OK | Nov 08 2024 |
Exports:individual_variable_effectinstall_shapshaptheme_drwhy_colors
Dependencies:clicodetoolscolorspaceDALEXfansifarverforeachggplot2gluegridExtragtablehereiBreakDowningredientsisobanditeratorsjsonlitekernelshaplabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpngR6rappdirsRColorBrewerRcppRcppTOMLreticulaterlangrprojrootscalestibbleutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Individual Variable Effect | individual_variable_effect individual_variable_effect.default individual_variable_effect.explainer shap |
Install shap Python library | install_shap |
Plots Attributions for Variables of Individual Prediction | plot.individual_variable_effect |
Print Individual Variable Effects | print.individual_variable_effect |
DrWhy Theme for ggplot objects | theme_drwhy_colors |