Skip to content

shapper

Wrapper of Python Library 'shap'

v0.1.3 · Aug 28, 2020 · GPL

Description

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'.

Downloads

610

Last 30 days

5631st

2.1K

Last 90 days

18.2K

Last year

Trend: -2.1% (30d vs prior 30d)

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

Check History

NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
WARNING 11 OK · 1 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
WARNING r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Szymon Maksymiuk <sz.maksymiuk@gmail.com>’

The Description field contains
  Lundberg, S., et al., (2016) <arXiv:1705.07874> The SHAP method is used
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies reticulate DALEX ggplot2 shapper

Version History

5 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Aug 27, 2020
updated 0.1.2 ← 0.1.1 diff Aug 1, 2019
updated 0.1.1 ← 0.1.0 diff Jul 9, 2019
new 0.1.0 Mar 1, 2019