Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
SinuoXu 07db09f74b | 6 months ago | |
---|---|---|
.. | ||
README.md | 6 months ago | |
ogc.py | 6 months ago | |
train.py | 6 months ago | |
utils.py | 6 months ago |
This DGL example implements the OGC method from the paper: From Cluster Assumption to Graph Convolution: Graph-based Semi-Supervised Learning Revisited.
With only one trainable layer, OGC is a very simple but powerful graph convolution method.
This example was implemented by Sinuo Xu when she was an undergraduate at SJTU.
Python 3.11.5
PyTorch 2.0.1
DGL 1.1.2
scikit-learn 1.3.1
The DGL's built-in Cora, Pubmed and Citeseer datasets, as follows:
Dataset | #Nodes | #Edges | #Feats | #Classes | #Train Nodes | #Val Nodes | #Test Nodes |
---|---|---|---|---|---|---|---|
Citeseer | 3,327 | 9,228 | 3,703 | 6 | 120 | 500 | 1000 |
Cora | 2,708 | 10,556 | 1,433 | 7 | 140 | 500 | 1000 |
Pubmed | 19,717 | 88,651 | 500 | 3 | 60 | 500 | 1000 |
python main.py --dataset cora
python main.py --dataset citeseer
python main.py --dataset pubmed
Dataset | Cora | Citeseer | Pubmed |
---|---|---|---|
OGC (DGL) | 86.9(±0.2) | 77.4(±0.1) | 83.6(±0.1) |
OGC (Reported) | 86.9(±0.0) | 77.4(±0.0) | 83.4(±0.0) |
No Description
Python C++ Jupyter Notebook Cuda Text other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》