Created
March 4, 2018 12:19
-
-
Save NMZivkovic/21e4785a24a3f9826555d60440e648dd 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
plt.figure(figsize=(15, 15)) | |
for i in range(10): | |
ax = plt.subplot(2, 10, i + 1) | |
plt.imshow(X_test[i, :, :, 0], cmap='gray') | |
plt.title("Digit: {}\nPredicted: {}".format(np.argmax(y_test[i]), np.argmax(predictions[i]))) | |
plt.axis('off') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment