CRAN/E | shapviz

shapviz

SHAP Visualizations

Installation

About

Visualizations for SHAP (SHapley Additive exPlanations), such as waterfall plots, force plots, various types of importance plots, dependence plots, and interaction plots. These plots act on a 'shapviz' object created from a matrix of SHAP values and a corresponding feature dataset. Wrappers for the R packages 'xgboost', 'lightgbm', 'fastshap', 'shapr', 'h2o', 'treeshap', 'DALEX', and 'kernelshap' are added for convenience. By separating visualization and computation, it is possible to display factor variables in graphs, even if the SHAP values are calculated by a model that requires numerical features. The plots are inspired by those provided by the 'shap' package in Python, but there is no dependency on it.

github.com/ModelOriented/shapviz
Bug report File report

Key Metrics

Version 0.9.3
R ≥ 3.6.0
Published 2024-01-12 105 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks shapviz results

Downloads

Yesterday 231 0%
Last 7 days 811 -28%
Last 30 days 4.436 -35%
Last 90 days 20.635 -38%
Last 365 days 112.692 +349%

Maintainer

Maintainer

Michael Mayer

mayermichael79@gmail.com

Authors

Michael Mayer

aut / cre

Adrian Stando

ctb

Material

README
NEWS
Reference manual
Package source

In Views

MachineLearning

Vignettes

Using 'shapviz'
Geographic Components
Multiple 'shapviz' objects

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

shapviz archive

Depends

R ≥ 3.6.0

Imports

ggfittext ≥ 0.8.0
gggenes
ggplot2 ≥ 3.4.0
ggrepel
grid
patchwork
rlang ≥ 0.3.0
stats
utils
xgboost

Suggests

knitr
rmarkdown
testthat ≥ 3.0.0

Enhances

fastshap
h2o
lightgbm

Reverse Suggests

fastshap
flowml