Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model = Sequential()
- model.add(LSTM(40, input_shape=(49, 3), dropout_U=0.1, dropout_W=0.1))
- model.add(Dense(100, activation='relu'))
- model.add(Dense(1, activation='sigmoid'))
- model.compile(loss='binary_crossentropy', optimizer='sgd', metrics=['accuracy', 'precision', 'recall'])
- print(model.summary())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement