L.kyunam
L.kyunam

Reputation: 53

is there package exist in python to do RWR(random walk with restart)

is there some package or function that to compute RWR in python? i want to compute RWR using weighted graph. but i can't find RWR package in python. plz tell me that package name if exist in python. or please see me some example RWR in python. thank you.

Upvotes: 1

Views: 1204

Answers (1)

Asking Questions
Asking Questions

Reputation: 667

I would suggest you start here: SciPy Cookbook » Other examples » Brownian Motion.

If you are really looking for a comprehensive package, you might want to check out MMTK. But to be honest that is probably not what you are looking for (as it comes more from a Molecular Dynamics approach). There is no library for random walks for the simple reason that the integrator for the stochastic differential equation is easily written in 3 lines (by drawing random numbers from a normal distribution and adding them each step).

As of 2021 there is now a random walk library for python which is found here: pyrandwalk

Upvotes: 1

Related Questions