Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- %matplotlib inline # Only use this if using iPython
- image_index = 7777 # You may select anything up to 60,000
- print(y_train[image_index]) # The label is 8
- plt.imshow(x_train[image_index], cmap='Greys')
Add Comment
Please, Sign In to add comment