This repository contains the official code of Canopy. Please see the insturctions below to run the code.
Please download the datasets by running
bash download_data.sh
To run canopy, use the following command
python run_canopy.py
python Canopy_heterophily.py --dataset_path {dataset_path} --heterophilic_hop_k {k}
python GNN.py
python Only_classical.py
numpy
igraph
scipy
torch_geometric
torch
scikit-learn
networkx
pandas
matplotlib
xgboost
ogb
gdown
dgl