Skip to content

HPSCIL/MSTSFFN-multiple-air-pollutants-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MSTSFFN

A multiscale spatial-temporal-spectral feature fusion network for predicting multiple air pollutants

This repo is the implementation of our manuscript entitled A multiscale spatial-temporal-spectral feature fusion network for predicting multiple air pollutants. The code is based on Pytorch 1.12.1, and tested on a GeForce RTX 4090 GPU with 24GB memory.

Accurate prediction of air quality at urban monitoring stations, while accounting for the complex interactions and impacts among multiple pollutants, is crucial for enhancing urban environmental quality and public health. However, current research predominantly focuses on predicting individual pollutant indicators, without incorporating the interactions between pollutants into the modeling process, leading to limitations in prediction accuracy and capability. To address this issue, a Multiscale Spatial-Temporal-Spectral Feature Fusion Network (MSTSFFN) for predicting multiple air pollutants at air quality monitoring stations is proposed. Experimental results on three urban air quality datasets showed that the proposed MSTSFFN outperformed the state-of-the-art methods in prediction various pollutants. MSTSFFN's structural framework and key modules for characterizing and fusing the multiscale features in temporal, spatial and spectral dimensions can also serve as the fundamental components of more general modeling structures for other multi-variant spatio-temporal dynamics.

Framework

MSTSFFN

Requirements

MSTSFF uses the following dependencies

  • Pytorch 1.12.1 and its dependencies
  • Numpy and Pandas
  • CUDA 11.8 or latest version

Folder Structure

We list the code of the major modules as follows:

Arguments

We introduce some major arguments of our main function here.

Training settings:

  • train_rate: rate of train set
  • test_rate: rate pf test set
  • lag: time length of hidtorical steps
  • pre_len: time length of future steps
  • num_nodes: the number of stations
  • batch_size: training or testing batch size
  • input_dim: the feature dimension of inputs
  • learning_rate: the learning rate at the beginning
  • epochs: training epochs
  • early_stop_patience: the patience of early stopping
  • device: using which GPU to train our model
  • seed: the random seed for experiments

Model hyperparameters:

  • d_model: position encoding embedding dimension
  • n_heads: the number of multi-head attention
  • d_k: feature dimensions of each head in multi-head attention
  • cheb_k: chebyshev polynomials order
  • hid_dim: hidden layer dimension of Chebyshev graph convolution
  • dropout: dropout rate

Citation

To Cite MSTSFFN in Publications

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages