Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save um4ng-tiw/9dd86c94d8d57e63057c7cdf45c4bda0 to your computer and use it in GitHub Desktop.
Save um4ng-tiw/9dd86c94d8d57e63057c7cdf45c4bda0 to your computer and use it in GitHub Desktop.
x_train = keras.utils.normalize(x_train, axis = 1)
y_test = keras.utils.normalize(y_test, axis = 1)
plt.imshow(x_train[5])
plt.title('Class: {}'.format(x_lab[5]))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment