yunshengb / SimGNN

146 stars 33 forks source link

GraphEmbedding

This version is for the WSDM 2019 paper.

Datasets

Get the datasets from https://drive.google.com/drive/folders/1lY3pqpnUAK0H9Tgjyh7tlMVYy0gYPthC?usp=sharing and extract under data/:

Get the pickle files (/save) from https://drive.google.com/drive/folders/1Eusvi4_iOKM0AsO1LhxQFkY62kDEtuMq?usp=sharing

Get the result files (/result) https://drive.google.com/drive/folders/1UXEGozaThjjuC-hnt4C7jn06L6I2Ra1v?usp=sharing

Dependencies

Install the following the tools and packages:

Tips for PyCharm Users

Run

The idea of creating config.py is to avoid typing in command line arguments. Instead, we can modify a few parameters in config.py and let the file handle the setting of the rest parameters via a bunch of if else statements. Then we can simply run python main.py without the following --xxxs.