Home

Awesome

weighted-deepwalk

Weighted Random Walk Implementation for DeepWalk (in Python)

The deepwalk [1] with weighted edge graph is implemented here.

Installation:

  1. Install original deepwalk package:

    pip install deepwalk

  2. Move 'main.py' and 'weighted_random_walk.py' into the python lib directory for deepwalk

Usage:

  deepwalk --input input.file --format weighted_edgelist --output output.file

Reference:

[1] deepwalk: https://github.com/phanein/deepwalk