Skip to content

Instantly share code, notes, and snippets.

@edunuke
Created November 17, 2018 20:15
Show Gist options
  • Select an option

  • Save edunuke/8c02f4e54d20672413a9d3ad7606184a to your computer and use it in GitHub Desktop.

Select an option

Save edunuke/8c02f4e54d20672413a9d3ad7606184a to your computer and use it in GitHub Desktop.
# get the ovearall mean contribution of each feature variable
shap.summary_plot(shap_values[0], X_train.values[:500], feature_names=X_train.columns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment