MLP for time series regression

We have seen examples of classification for image data; now let's look at regression for time series data. We shall build and use MLP for a smaller univariate time series dataset known as the international airline passengers dataset. This dataset contains the total number of passengers over the years. The dataset is available at the following links: 

Let us start by preparing our dataset.

  1. First, load the dataset using the following code:
filename = os.path.join(datasetslib.datasets_root,                         'ts-data',  'international-airline-passengers-cleaned.csv') ...

Get Python: Advanced Guide to Artificial Intelligence now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.