Developing a predictive model for time series data

RNNs, specifically LSTM models, are often a difficult topic to understand. Time series prediction is a useful application for RNNs because of temporal dependencies in the data. Time series data is abundantly available online. In this section, we will see an example of using LSTM for handling time series data. Our LSTM network will be able to predict a number of passengers for future years.

Description of the dataset

The dataset that I will be using is data about international airline passengers from 1949 to 1960. The dataset can be downloaded from!ds=22u3&display=line. Figure 12 shows the metadata of the international ...

Get Predictive Analytics with TensorFlow now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.