Created
April 26, 2020 15:22
-
-
Save Davisy/b72173903483fae1a6b0389c478d6628 to your computer and use it in GitHub Desktop.
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
y_pred = xgb_classifier.predict(X_val) | |
# plot confusion matrix for xgb_classifier | |
skplt.metrics.plot_confusion_matrix( | |
y_val, | |
y_pred, | |
normalize=True, | |
title="Confusion Matrix for XGB Classifier", | |
figsize=(10, 8), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment