-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.txt
executable file
·34 lines (28 loc) · 1.17 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
This is the implementation for our graph embedding paper published in CIKM18:
JUST - Are Meta-Paths Necessary? Revisiting Heterogeneous Graph Embeddings
This code was developed using Python 2.7
Install requirements:
pip install -r requirements.txt
How to run example:
python src/main.py --input Datasets/DBLP/dblp.edgelist --node_types Datasets/DBLP/dblp_node_types.txt --dimensions 128 --walk_length 100 --num_walks 10 --window-size 10 --alpha 0.5 --output dblp.embeddings
Input:
1) Edgelist format, the prefix of each node should indicate the node type.
typeID1 typeID2
2) Node_types: Structure of heterogeneous graph. Indicating heterogeneous connections. Eg:
author : paper
topic : paper
venue : paper
paper : author
paper : topic
paper : venue
Output:
Embedding file containing: Header + node id and d dimensional representation
Citing:
@inproceedings{hussein2018meta,
title={Are Meta-Paths Necessary?: Revisiting Heterogeneous Graph Embeddings},
author={Hussein, Rana and Yang, Dingqi and Cudr{\'e}-Mauroux, Philippe},
booktitle={Proceedings of the 27th ACM International Conference on Information and Knowledge Management},
pages={437--446},
year={2018},
organization={ACM}
}