Member-only story

Multiple Time Series Forecasting in Python

Moez Ali
4 min readJun 19, 2022

--

Step by step guide for multiple time series forecasting in Python

Photo by Chris Liverani on Unsplash

Introduction

In the previous tutorial, I have demonstrated how you can use PyCaret to forecast time-series data using Machine Learning. If you haven’t read that yet, you can read Time Series Forecasting in Python tutorial before continuing with this one, as this tutorial builds upon some important concepts covered in the last tutorial.

Install Libraries

In this tutorial I will use PyCaret. Installing PyCaret is very easy and takes only a few minutes. I strongly recommend using a virtual environment to avoid potential conflicts with other libraries.

pip install pycaret

Dataset

In this tutorial, I will show the end-to-end implementation of multiple time-series forecasting using the Store Item Demand Forecasting Challenge dataset from Kaggle. This dataset has 10 different stores and each store has 50 items, i.e. total of 500 daily level time series data for five years (2013–2017).

Sample Dataset

Load and prepare the data

--

--

Moez Ali
Moez Ali

Written by Moez Ali

Data Scientist, Founder & Creator of PyCaret

No responses yet