Skip to content

Graph neural network/Graph Embedding experimental code. Refer to the implementation from DGL/PyG examples, including gnn: gcn, graphSAGE, gat, ge: node2vec.

Notifications You must be signed in to change notification settings

GoldAndRabbit/gnn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

GNN

Graph neural network/Graph embedding code.

  • GNN: gcn, graphSAGE
  • GE: node2vec

GCN

GCN: learn a function of signals/features on a graph G = (V, E) which takes as input:

  • A feature description xi for every node i summarized in a N x D feature matrix X. (N : number of nodes, D : number of input features)
  • A representative description of the graph structure in matrix form, eg: adjacency matrix A.

and produces a node-level output Z (an N x F feature matrix, where F is the number of output features per node). Graph-level outputs can be modeled by producing some form of pooling operation.

Every neural network layer can then be written as a non-linear function, consider the following simple form of a layer-wise propagation rule:

gnn

with H(0)=X and H(L)=Z (z for graph-level outputs), L being the number of layers. The specific models then differ only in how f(⋅,⋅) is chosen and parameterized.

Preference

  • Semi-Supervised Classification with Graph Convolutional Networks
  • Inductive Representation Learning on Large Graphs
  • node2vec: Scalable Feature Learning for Networks

About

Graph neural network/Graph Embedding experimental code. Refer to the implementation from DGL/PyG examples, including gnn: gcn, graphSAGE, gat, ge: node2vec.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages