daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top