SkillAgentSearch skills...

STDN

An offical implementation of STDN: "Spatiotemporal-aware Trend-Seasonality Decomposition Network for Traffic Flow Forecasting." (AAAI 2025)

Install / Use

npx skills add roarer008/STDN

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

STDN

A pytorch implementation for the paper: Spatiotemporal-aware Trend-Seasonality Decomposition Network for Traffic Flow Forecasting

Run the model in JiNan or PeMS:

first:

python prepareData.py

second:

python train.py

The default setting is in conf/JiNan_1dim_12.conf

Download the data from:

Google Drive: https://drive.google.com/drive/folders/1oo-eO41kbQS8aDyFWER66DdPT2k3k8_m?usp=sharing

and SSTBAN

Environment

python 3.9.19
torch 2.3.0
numpy 1.26.3

or

python 3.10.14
torch 2.4.1
numpy 1.26.4

JiNan dataset

For the Jinan dataset, we selected 406 intersection nodes in Jinan, China. At the same time, for safety reasons, we provided the relative longitude and latitude of the nodes in the 'JiNan of lalo.csv'.

Citation

If you find our work is helpful, please cite as:

@inproceedings{cao2025spatiotemporal,
  title={Spatiotemporal-aware Trend-Seasonality Decomposition Network for Traffic Flow Forecasting},
  author={Cao, Lingxiao and Wang, Bin and Jiang, Guiyuan and Yu, Yanwei and Dong, Junyu},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={39},
  number={11},
  pages={11463--11471},
  year={2025}
}

Related Skills

View on GitHub
GitHub Stars42
CategoryDevelopment
Updated13d ago
Forks6

Languages

Python

Security Score

75/100

Audited on Jul 26, 2026

No findings