Git Product home page Git Product logo

magcrn's Introduction

πŸ“ˆ πŸ“ Back to the Future: GNN-based NO2 Forecasting via Future Covariates (IGARSS 2024) πŸ“ πŸ“‰

IEEExplore arXiv

This folder contains the implementation code of the paper "Back to the Future: GNN-based NO2 Forecasting via Future Covariates" (IGARSS 2024).

Authors: Antonio Giganti, Sara Mandelli, Paolo Bestagini, Umberto Giuriato, Alessandro D’Ausilio, Marco Marcon, Stefano Tubaro

The proposed MAGCRN (IGARSS 2024).

The conditioning module (Cond) of MAGCRN (IGARSS 2024).


Directory structure

The directory is structured as follows:

.
β”œβ”€β”€ dataset/
β”œβ”€β”€ lib/
β”œ   β”œβ”€β”€ models.py
β”œ   β”œβ”€β”€ utils.py
β”œ   └── dataset/
β”œ       β”œβ”€β”€ Madrid_2019.csv 
β”œ       β”œβ”€β”€ Madrid_2019_tsl.pkl
β”œ   	└── tsl_dataset_refactor.py
β”œβ”€β”€ logger/
β”œβ”€β”€ model/
β”œβ”€β”€ conda_env.yaml
β”œβ”€β”€ experiment.yaml
β”œβ”€β”€ README.yaml
└── run_experiment.py

Dataset

The datasets used in the experiments is available here. We provide a Torch Spatiotemporal (tsl)-ready version of the data, available at ./lib/dataset/Madrid_2019_tsl.pkl. This was created using the tsl_dataset_refactor.py and the Madrid_2019.csv data.

Configuration files

The experiment.yaml file stores all the parameter used to run the experiment. The results of the experiment are stored in the ./logs/ folder.

Requirements

To solve all dependencies, we recommend using Anaconda and the provided environment configuration by running the command:

conda env create -f conda_env.yml
conda activate conda_env

Experiments

The script used for the experiments in the paper is the run_experiment.py file. Change the settings in the experiment.yaml file according to the settings you want to use for the experiment, i.e., the model, the training parameters, etc. In addition, you have to set the ROOT_PATH in the ./lib/utils.py according to your configuration. After that, run the script with the command:

python run_experiment.py 

Citing

@inproceedings{giganti_magcrn_2024,
    author = {Giganti, Antonio and Mandelli, Sara, and Bestagini, Paolo and Giuriato, Umberto and D’Ausilio, Alessandro and Marcon, Marco and Tubaro, Stefano},
    title = {{Back to the Future: GNN-based NO2 Forecasting via Future Covariates}},
    year = {2024}
}

πŸ‘₯ About Us

Acknowledgement

These works were supported by the Italian Ministry of University and Research MUR and the European Union (EU) under the PON/REACT project.

logo logo logo logo logo

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.