rachit-ranjan16 / pyprobml

Python code for "Machine learning: a probabilistic perspective"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyprobml

Python 3 code for "Machine learning: a probabilistic perspective" (http://people.cs.ubc.ca/~murphyk/MLbook/).

You should run the code from the repo root ('pyprobml' directory) using module execution, e.g.,

python -m examples.LMSdemo

To run all the examples you can use

ls examples/.py | sed 's///./' | sed s/.[^\.]$// | xargs -n 1 python -m

from the repo root. This lists all the Python files under examples, turns the slash into a period, then removes the .py extension and finally feeds each line into python -m.

About

Python code for "Machine learning: a probabilistic perspective"

License:MIT License


Languages

Language:Jupyter Notebook 96.5%Language:Python 3.4%Language:MATLAB 0.1%Language:M 0.0%