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:
- https://www.kaggle.com/andreazzini/international-airline-passengers/data
- https://datamarket.com/data/set/22u3/international-airline-passengers-monthly-totals-in-thousands-jan-49-dec-60
Let us start by preparing our dataset.
- First, load the dataset using the following code:
filename = os.path.join(datasetslib.datasets_root, 'ts-data', 'international-airline-passengers-cleaned.csv') ...