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
- Host: GitHub
- URL: https://github.com/shuowang-ai/PM2.5-GNN
- Owner: shuowang-ai
- License: mit
- Created: 2020-10-11T12:04:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T14:35:46.000Z (about 2 years ago)
- Last Synced: 2025-04-25T12:45:37.679Z (2 days ago)
- Language: Python
- Size: 9.14 MB
- Stars: 188
- Watchers: 3
- Forks: 64
- Open Issues: 2
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
PM2.5-GNN
PM2.5-GNN: A Domain Knowledge Enhanced Graph Neural Network For PM2.5 Forecasting
Dataset
- Download dataset KnowAir from Google Drive or Baiduyun with code
t82d
.
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
- Name: Shuo Wang
- Login: shuowang-ai
- Email:
- Kind: user
- Description: Curiosity, Courage, Critical, Challenge, Concentration, Continuation, Confidence
- Website:
- Location: Beijing
- Twitter:
- Company: Beijing Normal University
- Icon url: https://avatars.githubusercontent.com/u/16516703?u=62113fb0235be8ca69ee7a38423a9f5275f7d4b4&v=4
- Repositories: 957
- Last ynced at: 2024-06-11T15:59:42.927Z
- Profile URL: https://github.com/shuowang-ai
GitHub Events
Total
- Issues event: 1
- Watch event: 25
- Fork event: 9
Last Year
- Issues event: 1
- Watch event: 25
- Fork event: 9
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 | 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
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
- 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