PRML README

The project's README from github.com/ctgk/PRML. As one markdown file: README.md.

PRML

Python codes implementing algorithms described in Bishop's book "Pattern Recognition and Machine Learning"

Required Packages

Notebooks

The notebooks in this repository can be viewed with nbviewer or other tools, or you can use Amazon SageMaker Studio Lab, a free computing environment on AWS (prior registration with an email address is required. Please refer to this document for usage).

From the table below, you can open the notebooks for each chapter in each of these environments.

nbviewer Amazon SageMaker Studio Lab
ch1. Introduction Open in SageMaker Studio Lab
ch2. Probability Distributions Open in SageMaker Studio Lab
ch3. Linear Models for Regression Open in SageMaker Studio Lab
ch4. Linear Models for Classification Open in SageMaker Studio Lab
ch5. Neural Networks Open in SageMaker Studio Lab
ch6. Kernel Methods Open in SageMaker Studio Lab
ch7. Sparse Kernel Machines Open in SageMaker Studio Lab
ch8. Graphical Models Open in SageMaker Studio Lab
ch9. Mixture Models and EM Open in SageMaker Studio Lab
ch10. Approximate Inference Open in SageMaker Studio Lab
ch11. Sampling Methods Open in SageMaker Studio Lab
ch12. Continuous Latent Variables Open in SageMaker Studio Lab
ch13. Sequential Data Open in SageMaker Studio Lab

If you use the SageMaker Studio Lab, open a terminal and execute the following commands to install the required libraries.

conda env create -f environment.yaml  # might be optional
conda activate prml
python setup.py install

PRML (ctgk/PRML)

Searching Database…

11.7K ·GitHub
What is this?A collection of Python implementations of the algorithms described in Christopher Bishop's book 'Pattern Recognition and Machine Learning' (PRML), organized as Jupyter notebooks by chapter.
Is this a library or a set of tutorial notebooks?It's a set of Jupyter notebooks, one per chapter, meant to be read and run alongside the book rather than imported as a package.
How do I view or run the notebooks?Open the chapter notebooks via nbviewer or another notebook viewer, or run them live using Amazon SageMaker Studio Lab, a free AWS-hosted environment that needs email registration.
What do I need installed to run the code myself?Python 3 with numpy and scipy are required; jupyter and matplotlib are optional for running/plotting notebooks, and sklearn is optional for fetching datasets.
Do I need to know the book to make sense of this repo?Yes, the notebooks implement specific algorithms from the book and are organized chapter by chapter (ch1 through ch13), so they're most useful alongside a copy of PRML.
How is the content organized?By the 13 chapters of the PRML book, from Introduction through Sequential Data, each with its own notebook covering that chapter's algorithms.
Can I run this without installing anything locally?Yes, Amazon SageMaker Studio Lab provides a free hosted environment where you can open and run the notebooks after registering with an email address.
Creator
ctgk
Size
26.7 MB
Stars
11.7K
Updated
CommitApr 05
Age
9y
Commits · 90 Days