h2o.shap.varimp_plot: h2o.shap.varimp_plot

Description Usage Arguments Examples

View source: R/h2o_shap.R

Description

h2o shap variable importance plot

Usage

1
h2o.shap.varimp_plot(shap_values, X, max.display = 20, plot_type = "bar")

Arguments

shap_values

shap value matrix from h2o.predict_contribution

X

original dataset

max.display

number of variables to show in the plot

plot_type

'dot','bar'

Examples

1
2
3
4

6chaoran/shapvis documentation built on July 29, 2020, 5:31 p.m.