Presented By O’Reilly and Intel AI
Put AI to Work
April 29-30, 2018: Training
April 30-May 2, 2018: Tutorials & Conference
New York, NY

Predicting the stock market using LSTMs

Aurélien Géron (Kiwisoft)
1:45pm–2:25pm Tuesday, May 1, 2018
Implementing AI, Interacting with AI, Models and Methods
Location: Nassau East/West Level: Intermediate
Average rating: ***..
(3.50, 2 ratings)

Who is this presentation for?

  • Anyone interested in time series and forecasting

Prerequisite knowledge

  • A basic understanding of machine learning concepts

What you'll learn

  • Learn how to analyze time series using deep learning, in particular to make good forecasts


Stock prices look very much like random walks: the signal-to-noise ratio is close to zero. Therefore, trying to model the prices directly to make investment decisions is extremely challenging. A different approach is to predict a company’s fundamental financial data (revenue, assets, debts, and so on). If you can know one year in advance what the financial health of a given company will be, then it obviously becomes much easier to make good investment decisions.

As was shown in “Improving Factor-Based Quantitative Investing by Forecasting Company Fundamentals,” a recent paper by John Alberg and Zachary C. Lipton presented at NIPS 2017, good predictions can be made using deep learning—more specifically using LSTM recurrent networks. Aurélien Géron explains how to forecast stock prices using the solution proposed in that paper, which is an excellent example of using LSTMs for time series forecasting. In the process, he details how LSTMs work, their advantages and limitations, and some alternatives. You’ll also learn how to perform cross-validation when dealing with time series, in particular to search for good hyperparameters.

Photo of Aurélien Géron

Aurélien Géron


Aurélien Géron is a machine learning consultant at Kiwisoft. Previously, he led YouTube’s video classification team and was founder and CTO of two successful companies (a telco operator and a strategy firm). Aurélien is the author of several technical books, including the O’Reilly book Hands-on Machine Learning with Scikit-Learn and TensorFlow.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)


05/12/2018 9:49pm EDT

WHere can i get the slides?

Picture of Andreas Burner
05/11/2018 12:31am EDT

Great talk, thank you. Where can I find the slides?

Picture of Aurélien Géron
05/07/2018 12:34am EDT

Thanks @Jonathan, I’m glad you enjoyed my talk. I’ll upload the slides today.

05/04/2018 6:42am EDT

Hi, @Aurelien,
Will the slides be made available? Great talk! Thank you! (And thanks for the great book…)