Skip main navigation

Hurry, only 2 days left to get one year of Unlimited learning for £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Python implementation of one layer RNNs

In this video, Dr Wang shows how to implement a single-layer recurrent neural network in Tensorflow.

Tensorflow has implemented many commonly-used RNN layers, including basic RNN, GRU, LSTM, etc. To construct a multi-layer RNN in Tensorflow, one simply stacks individual layers by sequentially adding each layer with specified input, output, and hidden size.

In this video, we show a minimal example of building a multi-layer RNN with/without intermediate output and reading the model summary.

This article is from the free online

An Introduction to Machine Learning in Quantitative Finance

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now