Skip to content

Instantly share code, notes, and snippets.

@naiborhujosua
Created August 5, 2022 00:37
Show Gist options
  • Save naiborhujosua/150d323de00fba3d45981d53e5212809 to your computer and use it in GitHub Desktop.
Save naiborhujosua/150d323de00fba3d45981d53e5212809 to your computer and use it in GitHub Desktop.
# Plot a confusion matrix with all 3600 predictions, ground truth labels and 6 classes
make_confusion_matrix(y_true=y_labels,
y_pred=pred_classes,
classes=class_names_test,
figsize=(100, 100),
text_size=30,
norm=False,
savefig=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment