A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

PM2.5-GNN

A Domain Knowledge Enhanced Graph Neural Network For PM2.5 Forecasting.
https://github.com/shuowang-ai/PM2.5-GNN

Category: Natural Resources
Sub Category: Air Quality

Last synced: about 23 hours ago
JSON representation

Repository metadata

PM2.5-GNN: A Domain Knowledge Enhanced Graph Neural Network For PM2.5 Forecasting

README.md

PM2.5-GNN

PM2.5-GNN: A Domain Knowledge Enhanced Graph Neural Network For PM2.5 Forecasting

Dataset

Requirements

Python 3.7.3
PyTorch 1.7.0
PyG: https://github.com/rusty1s/pytorch_geometric#pytorch-170
pip install -r requirements.txt

Experiment Setup

open config.yaml, do the following setups.

  • set data path after your server name. Like mine.

filepath:
  GPU-Server:
    knowair_fp: /data/wangshuo/haze/pm25gnn/KnowAir.npy
    results_dir: /data/wangshuo/haze/pm25gnn/results

  • Uncomment the model you want to run.
#  model: MLP
#  model: LSTM
#  model: GRU
#  model: GC_LSTM
#  model: nodesFC_GRU
   model: PM25_GNN
#  model: PM25_GNN_nosub
  • Choose the sub-datast number in [1,2,3].
 dataset_num: 3
  • Set weather variables you wish to use. Following is the default setting in the paper. You can uncomment specific variables. Variables in dataset KnowAir is defined in metero_var.
  metero_use: ['2m_temperature',
               'boundary_layer_height',
               'k_index',
               'relative_humidity+950',
               'surface_pressure',
               'total_precipitation',
               'u_component_of_wind+950',
               'v_component_of_wind+950',]

Run

python train.py

Reference

Paper: https://dl.acm.org/doi/10.1145/3397536.3422208

@inproceedings{10.1145/3397536.3422208,
author = {Wang, Shuo and Li, Yanran and Zhang, Jiang and Meng, Qingye and Meng, Lingwei and Gao, Fei},
title = {PM2.5-GNN: A Domain Knowledge Enhanced Graph Neural Network For PM2.5 Forecasting},
year = {2020},
isbn = {9781450380195},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3397536.3422208},
doi = {10.1145/3397536.3422208},
abstract = {When predicting PM2.5 concentrations, it is necessary to consider complex information sources since the concentrations are influenced by various factors within a long period. In this paper, we identify a set of critical domain knowledge for PM2.5 forecasting and develop a novel graph based model, PM2.5-GNN, being capable of capturing long-term dependencies. On a real-world dataset, we validate the effectiveness of the proposed model and examine its abilities of capturing both fine-grained and long-term influences in PM2.5 process. The proposed PM2.5-GNN has also been deployed online to provide free forecasting service.},
booktitle = {Proceedings of the 28th International Conference on Advances in Geographic Information Systems},
pages = {163–166},
numpages = {4},
keywords = {air quality prediction, graph neural network, spatio-temporal prediction},
location = {Seattle, WA, USA},
series = {SIGSPATIAL '20}
}

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 14
Total Committers: 1
Avg Commits per committer: 14.0
Development Distribution Score (DDS): 0.0

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
shawnwang s****h@g****m 14

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 21
Total pull requests: 0
Average time to close issues: 5 months
Average time to close pull requests: N/A
Total issue authors: 17
Total pull request authors: 0
Average comments per issue: 2.52
Average comments per pull request: 0
Merged pull request: 0
Bot issues: 0
Bot pull requests: 0

Past year issues: 2
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 2
Past year pull request authors: 0
Past year average comments per issue: 0.0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/shuowang-ai/PM2.5-GNN

Top Issue Authors

  • xie-kun (4)
  • a186232641 (2)
  • chenpiinxuan (1)
  • wanzhixiao (1)
  • YuBinWu (1)
  • hhhhZUOGU (1)
  • liufeng0612 (1)
  • TuozhenLiu (1)
  • MLforSW (1)
  • Ziyang-Yu (1)
  • ArynCC (1)
  • aaaaaaui (1)
  • G-H-Li (1)
  • LiuAoyu1998 (1)
  • Philosober (1)

Top Pull Request Authors


Top Issue Labels

Top Pull Request Labels


Dependencies

requirements.txt pypi
  • MetPy ==0.12.0
  • Pillow ==6.2.1
  • PyYAML ==5.1.2
  • arrow ==0.15.4
  • bresenham ==0.2.1
  • cdsapi ==0.2.3
  • geopy ==1.20.0
  • matplotlib ==3.1.1
  • networkx ==2.4
  • numpy ==1.17.3
  • pandas ==0.25.3
  • pyramid-arima ==0.8.1
  • python-dateutil ==2.8.1
  • pytz ==2019.3
  • scikit-image ==0.16.2
  • scikit-learn ==0.21.3
  • scipy ==1.3.1
  • tqdm ==4.38.0
  • xarray ==0.14.0

Score: 5.247024072160486