Skip to content

MachineLearningBCAM/Multitask-load-forecasting-IEEE-TPWRS-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adaptive Multi-task Learning for Probabilistic Load Forecasting

made-with-python Ask Me Anything !

This repository is the official implementation of the code developed in the paper "Adaptive Multi-task Learning for Probabilistic Load Forecasting".

The proposed method is a multi-task learning method for online and probabilistic load forecasting. The method can dynamically adapt to changes in consumption patterns and correlations among multiple entities. The techniques presented provide accurate probabilistic predictions for loads of multiples entities and asses load uncertainties.

Implementation of the method

  • main.py is the main file. In such file we can modify the values of hyper-parameters such as
  • model.py is the file that contains the functions to train and evaluate the model:
    • initialize initializes the parameters of the model.
    • update_parameters recursively updates the parameters of the model.
    • update_model updates the model each time new samples arrive.
    • prediction obtains the multi-task probabilistic forecasts in terms of multivariate Gaussian distributions.
    • test evaluates the forecasts in terms of RMSE and MAPE.
    • adapt_covariance simplifies the covariance matrix setting low values to zero to avoid spurious correlations.

Installation

git clone https://github.com/onintzezaballa/Multitask-Load-Forecasting

To train and evaluate the model in the paper, run this command:

python main.py

Data

We use 4 publicly available datasets containing multiple entities

We save the data in .mat files with hourly load time series, temperature time series, and calendar-related information, such as the hour of day or day of the week.

Test case

We display in this repository an example of the dataset GEFCom2017 with 8 entities.

Support and Author

Onintze Zaballa

[email protected]

ForTheBadge built-with-science

License

MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages