View source: R/PlotFunctions.R
ShapImportancePlot | R Documentation |
Generate Variable Importance Plots using Shapely Values of given data set
ShapImportancePlot(
data,
ShapColNames = NULL,
FacetVar1 = NULL,
FacetVar2 = NULL,
AggMethod = "mean",
TopN = 25,
Debug = FALSE
)
data |
Source data.table |
ShapColNames |
Names of the columns that contain shap values you want included |
FacetVar1 |
Column name |
FacetVar2 |
Column name |
AggMethod |
A string for aggregating shapely values for importances. Choices include, 'mean', 'absmean', 'meanabs', 'sd', 'median', 'absmedian', 'medianabs' |
TopN |
The number of variables to plot |
Debug |
= FALSE |
Adrian Antico
Other Model Insights:
ModelInsightsReport()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.