shun1024 / weighted-deepwalk

weighted random walk implementation for deepwalk (in python)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

weighted random walk implementation for deepwalk (in python)


Languages

Language:Python 100.0%