Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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