Skip to content

Instantly share code, notes, and snippets.

@betterdatascience
Created December 14, 2020 11:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save betterdatascience/9b8a5c638c2e288ddd9ef9955ea63a5d to your computer and use it in GitHub Desktop.
Save betterdatascience/9b8a5c638c2e288ddd9ef9955ea63a5d to your computer and use it in GitHub Desktop.
003_lime_vs_shap
from xgboost import XGBClassifier
model = XGBClassifier()
model.fit(X_train, y_train)
test_1 = X_test.iloc[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment