This package browser is in early development. Mind the rough edges.

r-shapviz

SHAP visualizations

This package provides 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.

Installation

Install the latest version of r-shapviz as follows:

guix install r-shapviz

Or install a particular version:

guix install r-shapviz@0.10.3

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of r-shapviz about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/r-shapviz'><img src='https://packages.guix.gnu.org/packages/r-shapviz/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/r-shapviz/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/r-shapviz)

Example Org:

[[https://packages.guix.gnu.org/packages/r-shapviz][https://packages.guix.gnu.org/packages/r-shapviz/badges/latest-version.svg]]