Skip to content

Instantly share code, notes, and snippets.

@amirhfarzaneh
Created February 23, 2018 09:02
Show Gist options
  • Save amirhfarzaneh/778827dd7cfe5eaf1ca01304c435d911 to your computer and use it in GitHub Desktop.
Save amirhfarzaneh/778827dd7cfe5eaf1ca01304c435d911 to your computer and use it in GitHub Desktop.
index = 7
plt.imshow(train_data[index].reshape(28, 28))
print ("y = " + str(np.squeeze(train_labels[index])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment