The code has been tested running under Python 3.7.3. with the following packages installed (along with their dependencies):
- numpy == 1.16.5
- pandas == 0.25.1
- scikit-learn == 0.21.2
- networkx == 2.3
- community == 0.13
- pytorch == 1.1.0
- torch_geometric == 1.3.2
All eight datasets we used in the paper are all public datasets which can be downloaded from the internet.
Two demo file is given to show the execution of CLP. Many optional hyper-parameters to try with, such as alpha, echo-free propagation mechanism, etc.
Please cite our paper if it is helpful in your own work:
@article{ZIP22,
title = {Simplifying Node Classification on Heterophilous Graphs with Compatible Label Propagation},
author = {Zhiqiang Zhong and Sergei Ivanov and Jun Pang},
journal = {Transactions on Machine Learning Research (TMLR)},
year = {2022},
}