Guest User

Untitled

a guest
Aug 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. %matplotlib inline # Only use this if using iPython
  3. image_index = 7777 # You may select anything up to 60,000
  4. print(y_train[image_index]) # The label is 8
  5. plt.imshow(x_train[image_index], cmap='Greys')
Add Comment
Please, Sign In to add comment