Random Walk with Restart project is my mathematics master 2 project of a RWR modelisation in python and PDF report.
Use the package manager pip or conda to install foobar.
pip install matplotlib
pip install networkx
pip install random
pip install numpy
pip install os
pip install shutil
pip install tkinter
pip install PIL
- Transition probability matrix
- Restart probability
- Number of iterations
- Seed node
matrix = np.matrix([[0, 0.6, 0.2, 0.2],
[0.6, 0, 0.3, 0.1],
[0.2, 0.6, 0, 0.2],
[0.1, 0.6, 0.3, 0]])
restart_probability = 0.25
iterations = 1000
seed = 0