SHAP Plots for 'XGBoost'

The aim of 'SHAPforxgboost' is to aid in visual data investigations using SHAP (SHapley Additive exPlanation) visualization plots for 'XGBoost'. It provides summary plot, dependence plot, interaction plot, and force plot. It relies on the 'dmlc/xgboost' package to produce SHAP values. Please refer to 'slundberg/shap' for the original implementation of SHAP in 'Python'.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.0.4 by Yang Liu, 7 months ago

Report a bug at

Browse source code at

Authors: Yang Liu [aut, cre] , Allan Just [aut, ctb]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports ggplot2, xgboost, data.table, ggforce, ggExtra, RColorBrewer, ggpubr, BBmisc

Suggests gridExtra, here, parallel

See at CRAN