Skip to Content
Deep Learning Quick Reference
book

Deep Learning Quick Reference

by Mike Bernico
March 2018
Intermediate to advanced
272 pages
7h 53m
English
Packt Publishing
Content preview from Deep Learning Quick Reference

Network output

Our network will be outputting a single value, which is the scaled flow or expected change of the bitcoin price in some given minute based on the previous minutes.

We can get this output by using a single neuron. This neuron can be implemented in a Keras Dense Layer. It will take, as inputs, the output of multiple LSTM neurons, which we will cover in the next section. Lastly, the activation of this neuron can be tanh because we've scaled our data to the same scale as the hyperbolic tangent function, as seen here:

output = Dense(1, activation='tanh', name='output')(lstm2)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Keras Deep Learning Cookbook

Keras Deep Learning Cookbook

Rajdeep Dua, Sujit Pal, Manpreet Singh Ghotra
Deep Learning with Keras

Deep Learning with Keras

Antonio Gulli, Sujit Pal

Publisher Resources

ISBN: 9781788837996Supplemental Content