Skip to content

Instantly share code, notes, and snippets.

@satishgunjal
Created October 17, 2020 07:52
Show Gist options
  • Save satishgunjal/552dd51ef372e48def926877c156ea11 to your computer and use it in GitHub Desktop.
Save satishgunjal/552dd51ef372e48def926877c156ea11 to your computer and use it in GitHub Desktop.
plot the results for verification
i = 12
plt.figure(figsize=(12,6))
plt.subplot(1,2,1)
plot_image(i, predictions[i], test_labels, test_images)
plt.subplot(1,2,2)
plot_value_array(i, predictions[i], test_labels)
_ = plt.xticks(range(10), class_names, rotation=45)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment