Created
December 14, 2020 11:25
-
-
Save betterdatascience/9b8a5c638c2e288ddd9ef9955ea63a5d to your computer and use it in GitHub Desktop.
003_lime_vs_shap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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