Skip to content

Instantly share code, notes, and snippets.

@oegedijk
Created February 17, 2021 12:41
Show Gist options
  • Save oegedijk/0511785a56fe1ce3001af29d006e7e9b to your computer and use it in GitHub Desktop.
Save oegedijk/0511785a56fe1ce3001af29d006e7e9b to your computer and use it in GitHub Desktop.
shap.initjs()
shap.force_plot(explainer.expected_value[1], shap_values[0,:], X_test.iloc[0,:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment