Gitpedia

PRML

PRML algorithms implemented in Python

From ctgk·Updated May 31, 2026·View on GitHub·

Python codes implementing algorithms described in Bishop's book "Pattern Recognition and Machine Learning" The project is written primarily in Jupyter Notebook, distributed under the MIT License license, first published in 2017. It has gained significant community traction with 11,722 stars and 3,215 forks on GitHub. Key topics include: jupyter, notebook, prml, python.

PRML

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

Required Packages

  • python 3
  • numpy
  • scipy
  • jupyter (optional: to run jupyter notebooks)
  • matplotlib (optional: to plot results in the notebooks)
  • sklearn (optional: to fetch data)

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.

nbviewerAmazon SageMaker Studio Lab
ch1. IntroductionOpen in SageMaker Studio Lab
ch2. Probability DistributionsOpen in SageMaker Studio Lab
ch3. Linear Models for RegressionOpen in SageMaker Studio Lab
ch4. Linear Models for ClassificationOpen in SageMaker Studio Lab
ch5. Neural NetworksOpen in SageMaker Studio Lab
ch6. Kernel MethodsOpen in SageMaker Studio Lab
ch7. Sparse Kernel MachinesOpen in SageMaker Studio Lab
ch8. Graphical ModelsOpen in SageMaker Studio Lab
ch9. Mixture Models and EMOpen in SageMaker Studio Lab
ch10. Approximate InferenceOpen in SageMaker Studio Lab
ch11. Sampling MethodsOpen in SageMaker Studio Lab
ch12. Continuous Latent VariablesOpen in SageMaker Studio Lab
ch13. Sequential DataOpen in SageMaker Studio Lab

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

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

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from ctgk/PRML via the GitHub API.Last fetched: 5/31/2026