Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lopezjurip/k-walk-py

Markov chain theory applied on finding most frequently visited edges from random walks
https://github.com/lopezjurip/k-walk-py

Last synced: 25 days ago
JSON representation

Markov chain theory applied on finding most frequently visited edges from random walks

Awesome Lists containing this project

README

        

# k-walk-py
Markov chain theory applied on finding most frequently visited edges from random walks. Based on paper *Relevant subgraph extraction from random
walks in a graph (2006)* from P. Dupont, J. Callut, G. Dooms, J.-N. Monette and Y. Deville.

# Instructions

* Install [numpy](https://github.com/numpy/numpy): `pip install numpy`.
* Modify `main.py` and create your nodes (`V`), edges (`E`) and points of interest (`K`).
* Create an instance of `Graph` with those parameters.
* Query `N_star` function with a starting point of interest.
* Print the resulting matrix to see how frecuently is visited each node.