Guest User

Untitled

a guest
Mar 13th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. plt.figure(figsize=(15, 15))
  2. for i in range(10):
  3. ax = plt.subplot(2, 10, i + 1)
  4. plt.imshow(X_test[i, :, :, 0], cmap='gray')
  5. plt.title("Digit: {}\nPredicted: {}".format(np.argmax(y_test[i]), np.argmax(predictions[i])))
  6. plt.axis('off')
  7. plt.show()
Add Comment
Please, Sign In to add comment