Giter Site home page Giter Site logo

gsi's Introduction

GSI

The code is for our paper "Rainfall Spatial Interpolation with Graph Neural Networks", and this paper has been accepted by DASFAA 2023.

Datasets and Baselines

For more dataset and baseline details, please refer to our latest work and its code repository: SSIN.

Two real-world hourly raingauge datasets, HK and BW, are collected and used in this paper. Download the processed datasets from Google Drive and place them in the data folder.

In the baselines folder of SSIN, you can find the implementation of IDW, OK, TIN, and TPS:

For GNN-based baselines, please refer to their original code: KCN and IGNNK.

Instructions

networks:

  • Include files about the network layers and the model architecture.

postprocess:

  • Calculate the RMSE, MAE, and NSE for predicted results.

preprocess:

  • generate_adjs.py: generate adjacency matrix for HK/BW dataset.
  • preprocessing.py: preprocess HK/BW dataset and general the pkl data for training/testing.

utils:

  • cfg.py: build the argument function.
  • pytorchtools.py: build the EarlyStopping function.
  • utils.py: some useful functions.

training_funcs.py:

  • define training-related functions which will be called by the main function of "train_gcn.py" / "train_rc_by_gcn.py" / "train_rc_by_kriging.py".

train_gcn.py:

  • train the GSI model to perform spatial interpolation.

train_rc_by_gcn.py:

  • reload the trained GSI model for spatial interpolation and perform residual correction by GSI.

train_rc_by_kriging.py:

  • reload the trained GSI model for spatial interpolation and perform residual correction by Kriging.

Citation

@inproceedings{li2023rainfall,
  title={Rainfall Spatial Interpolation with Graph Neural Networks},
  author={Li, Jia and Shen, Yanyan and Chen, Lei and Ng, Charles Wang Wai},
  booktitle={International Conference on Database Systems for Advanced Applications},
  pages={175--191},
  year={2023},
  organization={Springer}
}

Discussion

TBD

gsi's People

Contributors

jlidw avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

oattao t573029173

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.