TLDRocket
Sign in

Tools & Coding

995 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Saturday, 8 July 2017

Predict Stock Prices Using RNN: Part 1

Lil'Log 9 years ago 21

A tutorial demonstrates how to build a recurrent neural network with LSTM cells using TensorFlow to predict S&P 500 stock prices, using historical daily close prices from January 1950 to June 2017. The model uses sliding windows of fixed size with num_steps set to 30 LSTM cells per layer, trained over a maximum of 50 epochs with an initial learning rate of 0.001. The approach normalizes price data to predict relative changes rather than absolute values, and splits data into 90% training and 10% test sets to evaluate future price predictions.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.