Description Usage Arguments Examples
h2o shap variable importance plot
1 | h2o.shap.varimp_plot(shap_values, X, max.display = 20, plot_type = "bar")
|
shap_values |
shap value matrix from |
X |
original dataset |
max.display |
number of variables to show in the plot |
plot_type |
'dot','bar' |
1 2 3 4 | data(shap_values_mtcars)
data(mtcars)
h2o.shap.varimp_plot(shap_values_mtcars, mtcars, 20, 'bar')
h2o.shap.varimp_plot(shap_values_mtcars, mtcars, 20, 'dot')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.