This project implements and compares different multivariate forecasting strategies using the PatchTST model on the FRED-MD dataset (Federal Reserve Economic Data). The goal is to forecast the macroeconomic variable T89 by comparing models with standard configuration and automatic hyperparameter optimization (AutoML).
The project compared 5 training scenarios. The Modified AutoPatchTST model trained with the 5 most correlated variables achieved the best absolute performance.
The graphs below show that variable selection by correlation combined with hyperparameter optimization significantly reduced MAE, RMSE, and SMAPE.
Below, the visual comparison between the forecasts of the different models and the actual values of the T89 variable. Note how the optimized model's curve (in purple) best follows the real trend.
This is the final project of the MEISSA training program, a partnership between the Laboratório de Inteligência Artificial e Arquiteturas Dedicadas (LIAD) of UFCG and HP. The project applies advanced knowledge in multivariate time series and model optimization.
- Python 3.x
- NeuralForecast - Specialized forecasting framework
- AutoPatchTST - Automatic hyperparameter optimization
- Ray Tune - Hyperparameter tuning framework
- Sktime - TSF dataset loading
- Dataset: FRED-MD (107 macroeconomic variables).
- Scenarios: Comparison between manual selection, correlation-based selection, and using 70 variables.
- Optimization: Use of Ray Tune for hyperparameter search (learning rate, patch length, etc.).
Click the "Open in Colab" badge at the top of this README to run the notebook directly in your browser.
- Luiz Anselmo Medeiros Lima - @luizmlima
- Anne Grazieli Marques Silva - @annegmsilva
- Pedro Henrique Coelho Torres - @Pedroct06
This project was developed as the final project of the MEISSA training program, a partnership between the Laboratório de Inteligência Artificial e Arquiteturas Dedicadas (LIAD) of UFCG and HP.



