Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Last active February 10, 2018 13:08
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/307554a3bece6b10e89b76e55889ba90 to your computer and use it in GitHub Desktop.
Save NMZivkovic/307554a3bece6b10e89b76e55889ba90 to your computer and use it in GitHub Desktop.
from keras.models import Sequential
from keras.layers import Dense
model = Sequential()
model.add(Dense(3, input_dim=2, activation='relu'))
model.add(Dense(1, activation='softmax'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment