Skip to content

This repo contains the code for replicating the experiments in the paper "Modeling serially dependent data: From ARIMA models to transformers".

License

Notifications You must be signed in to change notification settings

dcacciarelli/qq_forecasting_pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Series Forecasting (Quality Engineering)

A modular and reproducible pipeline for univariate time series forecasting using ARIMA, LSTM, and Transformer models. This repository is designed for plug-and-play usage on electricity demand data, but can be easily adapted to other time series datasets.

This repo includes the following autoregressive forecasting models:

  • ARIMA: Classical linear model with seasonal extensions.
  • LSTM: Recurrent neural network capable of learning temporal dependencies.
  • Transformer: A causal, decoder-style transformer model with masked self-attention and positional encoding, tailored for univariate forecasting.

Experiments are run on UK national electricity demand data (NESO, 2024), with all models predicting one step ahead over a 7-day test window (336 half-hourly steps).

image

About

This repo contains the code for replicating the experiments in the paper "Modeling serially dependent data: From ARIMA models to transformers".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages