Weighted Random Walk Implementation for DeepWalk (in Python)
The deepwalk [1] with weighted edge graph is implemented here.
-
Install original deepwalk package:
pip install deepwalk
-
Move 'main.py' and 'weighted_random_walk.py' into the python lib directory for deepwalk
deepwalk --input input.file --format weighted_edgelist --output output.file
Reference:
[1] deepwalk: https://github.com/phanein/deepwalk