Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()
Add Comment
Please, Sign In to add comment