Skip to Content
Hands-On Machine Learning for Algorithmic Trading
book

Hands-On Machine Learning for Algorithmic Trading

by Stefan Jansen
December 2018
Beginner to intermediate
684 pages
21h 9m
English
Packt Publishing
Content preview from Hands-On Machine Learning for Algorithmic Trading

Long Short-Term Memory Units

RNNs with an LSTM architecture have more complex units that maintain an internal state and contain gates to keep track of dependencies between elements of the input sequence and regulate the cell states accordingly. These gates recurrently connect to each other instead of the usual hidden units we have previously encountered. They aim to address the problem of vanishing and exploding gradients by letting gradients pass through unchanged.

The following diagram shows unrolled LSTM units and outlines their typical gating mechanism (for more information from GitHub, refer to https://github.com/PacktPublishing/Hands-On-Machine-Learning-for-Algorithmic-Trading):

A typical LSTM unit combines four parameterized layers ...

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

Machine Learning for Algorithmic Trading - Second Edition

Machine Learning for Algorithmic Trading - Second Edition

Stefan Jansen

Publisher Resources

ISBN: 9781789346411Supplemental Content