/GraphEmbeddings

Deepwalk、Line、Node2Vec

Primary LanguagePython

Graph Embedding Study

Support

  • Deepwalk
  • Node2Vec

How to Run

1.Install Requirements

Create a virtual environment conda create -n python36 python==3.6.5, then pip install -r requirements.txt

2.Run

python main.py

3.Datasets

datasets cora dblp BlogCatalog
V 2708 17725 10312
E 5429 105781 333983
Class 7 4 39

4.NodeClassify Task

cora dblp
Deepwalk(f1-micro) 0.8542 0.8327
Line(f1-micro) 0.6218 0.6262
Node2vec(f1-micro) 0.8561 0.8386

Visualization

Deepalk_Cora
Line_Cora
Node2Vec_Cora

Updating

  • Line--The visualization of Embeddings study by Line is terrible,I'm fixing....

Reference

[1] Deepwalk Source code
[2] Line Source Code C++
[3] Node2Vec Source code