Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created February 10, 2018 14:52
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 NMZivkovic/9779bb35810f14f767f4b0fa04532393 to your computer and use it in GitHub Desktop.
Save NMZivkovic/9779bb35810f14f767f4b0fa04532393 to your computer and use it in GitHub Desktop.
# Encoding training dataset
encoding_train_y = np_utils.to_categorical(train_y)
# Encoding training dataset
encoding_test_y = np_utils.to_categorical(test_y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment