Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. model = Sequential()
  2. model.add(LSTM(40, input_shape=(49, 3), dropout_U=0.1, dropout_W=0.1))
  3.  
  4. model.add(Dense(100, activation='relu'))
  5. model.add(Dense(1, activation='sigmoid'))
  6. model.compile(loss='binary_crossentropy', optimizer='sgd', metrics=['accuracy', 'precision', 'recall'])
  7. print(model.summary())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement