Skip to content

Instantly share code, notes, and snippets.

@filipwodnicki
Created July 18, 2019 17:22
Show Gist options
  • Save filipwodnicki/77cd3f467fdbb1acec6ae909df370568 to your computer and use it in GitHub Desktop.
Save filipwodnicki/77cd3f467fdbb1acec6ae909df370568 to your computer and use it in GitHub Desktop.
Keras cheatsheet
import keras
# Integer to categorical
keras.utils.to_categorical(4, num_classes=5, dtype='int')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment