March 2018
Intermediate to advanced
272 pages
7h 53m
English
In this example we're predicting a binary target. As before, we can use a dense layer with a single sigmoid neuron to accomplish this binary classification task:
output = Dense(1, activation='sigmoid', name='sigmoid')(lstm1)