Pytorch implementation of Line Graph Neural Networks for Link Prediction.
Python 3.5 +
Pytorch , Numpy , Networkx, PyTorch Geometric
Raw datasets are obtained from https://noesis.ikor.org/datasets/link-prediction. Datasets are processed and saved into mat file.
cd LGLP/Python
python Main.py --data-name=BUP --test-ratio=0.5
Part of code borrow from https://github.com/muhanzhang/SEAL and https://github.com/muhanzhang/DGCNN. Thanks for their excellent work!