This repository provides an example of training a graph neural network using the DGL framework on the Cora dataset.
The Cora dataset consists of 2708 scientific publications classified into one of seven classes. The citation network consists of 5429 links. Each publication in the dataset is described by a 0/1-valued word vector indicating the absence/presence of the corresponding word from the dictionary.
Goal: predict which class an article belongs to.
-
dgl_cora.ipynbfile with a description of the model architecture, its training, as well as an inference. -
modelsdirectory for storing a model file in pt format , as well as a python file with architecture.GCN.pyfile describing the architecture of the GCN model.APPNP.pyfile describing the architecture of the APPNP model.CRD_CLS.pyfile describing the architecture of the CRD_CLS model.gcn_model.ptGCN model file in pt format.appnp_model.ptAPPNP model file in pt format.crd_cls_model.ptCRD_CLS model file in pt format.
This repository is used to provide files to the dl-benchmark repository.