This repository is the implementation of "Unsupervised Inductive Graph-Level Representation Learning via Graph-Graph Proximity".
Yunsheng Bai, Hao Ding, Yang Qiao, Agustin Marinovic, Ken Gu, Ting Chen, Yizhou Sun, and Wei Wang. 2019. Unsupervised Inductive Graph-Level Representation Learning via Graph-Graph Proximity. IJCAI (2019).
Download the data files from https://drive.google.com/drive/folders/1XWkQmrqQxwsZ9KvCZwcOyDgAVPfbDBM3?usp=sharing
Extract under /data and /save.
Install the following the tools and packages:
python3: Assumepython3by default (usepip3to install packages).numpypandasscipyscikit-learntensorflow(1.8.0 recommended)networkx==1.10(NOT2.1)beautifulsoup4lxmlmatplotlibseaborncolourpytzrequestsklepto
Reference commands:
sudo pip3 install numpy pandas scipy scikit-learn tensorflow networkx==1.10 beautifulsoup4 lxml matplotlib seaborn colour pytz requests klepto
- If you see red lines under
import, marksrcandmodel/SiameseasSource Root, so that PyCharm can find those files. - Mark
src/Siamese/logsasExcluded, so that PyCharm won't spend time inspecting those logs.
Example commands to run our model:
cd model/Siamese
python3.5 run.py