Abstract
Sage Former is an open-source Data Science project. Code for IoTJ 2024 paper "SageFormer: Series-Aware Framework for Long-Term Multivariate Time-Series Forecasting". SageFormer is a novel series-aware graph-enhanced Transformer model designed for long-term forecasting of multivariate time-series (MTS) data. With the proliferation of IoT devices, MTS data has become ubiquitous, necessitating advanced models to forecast future behaviors. It is built using Python, Deep Learning. The complete source code is publicly available on GitHub under the MIT License, making it a useful reference for students building a Data Science mini project or final-year project.
1. Introduction
SageFormer is a novel series-aware graph-enhanced Transformer model designed for long-term forecasting of multivariate time-series (MTS) data. With the proliferation of IoT devices, MTS data has become ubiquitous, necessitating advanced models to forecast future behaviors. SageFormer addresses the challenge of capturing both intra- and inter-series dependencies, enhancing the predictive performance of Transformer-based models.
2. Objective
Code for IoTJ 2024 paper "SageFormer: Series-Aware Framework for Long-Term Multivariate Time-Series Forecasting".
This project demonstrates how Python, Deep Learning can be applied to a real-world Data Science problem.
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Python 3.8 or later
- pip / virtualenv for dependencies
- VS Code, PyCharm or Jupyter Notebook
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/zhangzw16/SageFormer.git
cd SageFormer- Clone this repository
- Download datasets from Google Drive or Baidu Drive and place them in the ./dataset folder
- Create a virtual environment and activate it
- Install requirements pip install -r requirements.txt
- Run scripts in the ./scripts folder to train and evaluate the model, for example:
- Model checkpoints and logs will be saved to outputs folder
sh scripts/long_term_forecast/ECL_script/SageFormer.shFull setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Turn the analysis into an interactive dashboard
- Automate data refresh with a scheduled job
- Add a predictive model on top of the analysis
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- What is the source of the dataset and how was missing data handled?
- Which exploratory analysis steps revealed the most useful insight?
- Why were these particular charts chosen to present the data?
- Which statistical or ML technique supports the conclusions?
- How could the analysis be automated or refreshed with new data?
9. Source Code & License
This project is developed by zhangzw16 and published on GitHub under the MIT License. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on a Data Science project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Data Science Internship