w-garcia / powerful-gnns

How Powerful are Graph Neural Networks?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Distance Constraint-based Characterization of the Graph Isomorphism Network

This repository is a fork of the code by Xu et al.

We run some experiments using their code to give a distance constraint-based characterization of Graph Isomorphism Network (GIN).

Installation

Install PyTorch following the instuctions on the official website. The code has been tested over PyTorch 1.4.0.

Then install the other dependencies.

pip install -r requirements.txt

Experiments

The main experiments were ran from distance_experiments-mutag.ipynb and distance_experiments-proteins.ipynb, for the MUTAG and PROTEINS datasets, respectively. debug.ipynb contains some boilerplate code which was used to debug the experiment implementations.

About

How Powerful are Graph Neural Networks?


Languages

Language:Jupyter Notebook 96.5%Language:Python 3.5%