GOOD.networks.models

This module includes GNNs used in our leaderboard. It includes: GINs, GINvirtualnodes, and GCNs, in which GCNs are only for node classifications.

Modules

GOOD.networks.models.BaseGNN

Base classes for Graph Neural Networks

GOOD.networks.models.CIGAGNN

Implementation of the CIGA algorithm from "Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphs" paper

GOOD.networks.models.Classifiers

Applies a linear transformation to complete classification from representations.

GOOD.networks.models.CoralGCNs

GCN implementation of the Deep Coral algorithm from "Deep CORAL: Correlation Alignment for Deep Domain Adaptation" paper

GOOD.networks.models.CoralNN

GIN and GIN-virtual implementation of the Deep Coral algorithm from "Deep CORAL: Correlation Alignment for Deep Domain Adaptation" paper

GOOD.networks.models.DANNGCNs

GCN implementation of the DANN algorithm from "Domain-Adversarial Training of Neural Networks" paper

GOOD.networks.models.DANNs

GIN and GIN-virtual implementation of the DANN algorithm from "Domain-Adversarial Training of Neural Networks" paper

GOOD.networks.models.DIRGNN

The implementation of Discovering Invariant Rationales for Graph Neural Networks.

GOOD.networks.models.EERM

The implementation of Handling Distribution Shifts on Graphs: An Invariance Perspective.

GOOD.networks.models.GCNs

The Graph Neural Network from the "Semi-supervised Classification with Graph Convolutional Networks" paper.

GOOD.networks.models.GILGNNs

Implementation of the GIL algorithm from "Learning Invariant Graph Representations for Out-of-Distribution Generalization".

GOOD.networks.models.GINs

The Graph Neural Network from the "How Powerful are Graph Neural Networks?" paper.

GOOD.networks.models.GINvirtualnode

The Graph Neural Network from the "Neural Message Passing for Quantum Chemistry" paper.

GOOD.networks.models.GSATGNNs

Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism <https://arxiv.org/abs/2201.12987>`_.

GOOD.networks.models.MixupGCNs

GCN implementation of the Mixup algorithm from "Mixup for Node and Graph Classification" paper

GOOD.networks.models.MixupGNN

GIN and GIN-virtual implementation of the Mixup algorithm from "Mixup for Node and Graph Classification" paper

GOOD.networks.models.MolEncoders

Atom (node) and bond (edge) feature encoding specified for molecule data.

GOOD.networks.models.Pooling

The pooling classes for the use of the GNNs.

GOOD.networks.models.SRGCNs

GCN implementation of the SRGNN algorithm from "Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Data" paper