Self-supervised Heterogeneous Graph Learning: a Homophily and Heterogeneity View
March 2, 2024 ยท View on GitHub
This repository contains the reference code for the manuscript ``Self-supervised Heterogeneous Graph Learning: a Homophily and Heterogeneity View"
Contents
Installation
- pip install -r requirements.txt
- Unzip the datasets (the heterogeneous graph datasets can be found in ./dataset/, and the homogeneous graph datasets will be automatically downloaded from the public website)
Preparation
Important args:
--use_pretrainTest checkpoints to reproduce the results--datasetHeterogeneous graph: ACM, Yelp, DBLP, Aminer || Homogeneous graph: photo, computers, cs, physics--custom_keyNode: node classification
Training
python main.py