Coder Social home page Coder Social logo

stevinc / egnna_wnd Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 5.97 MB

Pytorch code for estimating the presence of the West Nile Disease employing Graph Neural network

Python 99.33% Shell 0.67%
remote-sensing satellite-images sentinel-2 landsat-8 resnet graph-neural-networks graph-convolutional-networks west-nile-virus graph-attention-networks disease-prediction

egnna_wnd's Introduction

EGNNA_WND

Pytorch code for estimating the presence of the West Nile Disease employing Graph Neural network. I use the technique proposed in the paper: Exploiting Edge Features for Graph Neural Networks. With these method I am able to exploit not only the node features but also the edge ones, in detail I adopt three different similarity matrices calculated from the temperature (LST), the soil moisture (SSM) and the altitude (SRTM) values.

Model architecture

Graph aggregation on embedding features

Prerequisites

  • Python >= 3.7
  • PyTorch >= 1.5
  • CUDA 10.0

Dataset

A Custom Dataset provided by European Space Agency (ESA) is adopted, at the moment I'm not allowed to publish it. I will try to insert a fake version as soon as possible.

Models

ResNet18 is used as feature extractor, followed by a graph aggregation and a final linear layer. Both the versions based on Graph Attention Network and Graph Convolutional Network are tested.

Training

Before running the files main.py you can set the desired parameters in the file job_config.py, which modify the ones contained in config/configuration.json.

Cite

If you have any questions, please contact [email protected], or open an issue on this repo.

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.