Skip to content

Official PyTorch implementation for "Classifying Nodes in Graphs without GNNs"

Notifications You must be signed in to change notification settings

dani3lwinter/CoHOp

Repository files navigation

CoHOp - Classifying Nodes in Graphs without GNNs

Official implementation for "Classifying Nodes in Graphs without GNNs" by Daniel Winter, Niv Cohen and Yedid Hoshen.

CoHOp Overview

Download Datasets

mkdir data
wget -P data https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/cora.npz
wget -P data https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/cora_full.npz
wget -P data https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/citeseer.npz
wget -P data https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/pubmed.npz
wget -O data/a-computer.npz https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/amazon_electronics_computers.npz
wget -O data/a-photo.npz https://github.com/BUPT-GAMMA/CPF/raw/master/data/npz/amazon_electronics_photo.npz

Run Experiments

Transductive settings (semi-supervised):

 python main.py cora citeseer pubmed a-computer a-photo

Inductive settings:

 python main.py cora citeseer pubmed a-computer a-photo --unseen_rate 0.2

Supervised Transductive Settings:

 python main.py cora --train_labelrate=0.6 --val_labelrate=0.15

About

Official PyTorch implementation for "Classifying Nodes in Graphs without GNNs"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages