Skip to content

Instantly share code, notes, and snippets.

@srang992
Created May 26, 2022 11:57
Show Gist options
  • Select an option

  • Save srang992/c806ad3240b4ca845fd62a1c79abf503 to your computer and use it in GitHub Desktop.

Select an option

Save srang992/c806ad3240b4ca845fd62a1c79abf503 to your computer and use it in GitHub Desktop.
# this line removes the grid from the confusion matrix
sns.set_style("whitegrid", {'axes.grid' : False})
ConfusionMatrixDisplay.from_predictions(y_test, y_pred)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment