prep shap data
1 | shap_prep(shap = shap_result, X_train = mat_train, top_n)
|
shap |
shap_result |
X_train |
train data as a matrix |
top_n |
top n variables to print in plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.