- Deepwalk
- Node2Vec
Create a virtual environment conda create -n python36 python==3.6.5
, then pip install -r requirements.txt
python main.py
datasets | cora | dblp | BlogCatalog |
---|---|---|---|
V | 2708 | 17725 | 10312 |
E | 5429 | 105781 | 333983 |
Class | 7 | 4 | 39 |
cora | dblp | |
---|---|---|
Deepwalk(f1-micro) | 0.8542 | 0.8327 |
Line(f1-micro) | 0.6218 | 0.6262 |
Node2vec(f1-micro) | 0.8561 | 0.8386 |
Deepalk_Cora |
Line_Cora |
Node2Vec_Cora |
- Line--The visualization of Embeddings study by Line is terrible,I'm fixing....
[1] Deepwalk Source code
[2] Line Source Code C++
[3] Node2Vec Source code