Transition matrix
cat tiny.txt | python transition-matrix.py
Simulating random web surfer
cat tiny.txt | python transition-matrix.py | python random-surfer.py 1000000
Page rank
create python virtual environment named venv
python3 -m venv './venv'
activate virtual environment with source './venv/bin/activate'
if on Windows activate it with source './venv/Scripts/activate'
update pip
pip install --upgrade pip setuptools wheel
install library pystdlib
pip install git+ssh://[email protected]/ibqn/pystdlib.git
test that the library was installed correctly by executing the following command
python -c 'import pystdlib; print("ok")'
to deactivate venv run deactivate
create new repository by running git init
and check its status with git status