# prml/prmlt

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/prml-prmlt).**

6,207 stars · 2,133 forks · MATLAB · MIT

## Links

- GitHub: https://github.com/PRML/PRMLT
- Homepage: http://prml.github.io/
- awesome-repositories: https://awesome-repositories.com/repository/prml-prmlt.md

## Description

PRMLT provides self-contained MATLAB implementations of every algorithm from the Pattern Recognition and Machine Learning textbook by Christopher Bishop. The code reproduces the book's exact formulas and notation, making each implementation directly traceable to the source material for educational verification and study.

The implementations cover the full range of core machine learning methods from the textbook, including classification, clustering, regression, density estimation, and neural network algorithms. Each module is self-contained with heavy comments, and the code uses compact, vectorized MATLAB operations for efficient numerical computation. The project also includes a matrix factorization library for eigenvalue and singular value decompositions, along with numerical stability utilities that handle log-domain probability calculations and symmetric matrix square root updates to maintain accuracy during algorithm execution.

Beyond the algorithm implementations, the project provides functions for loading image data into numeric arrays and applies techniques like vectorization and matrix factorization to accelerate common machine learning tasks. The code is organized for straightforward adaptation and reuse in experimental workflows.

## Tags

### Education & Learning Resources

- [PRML Algorithm Executions](https://awesome-repositories.com/f/education-learning-resources/algorithmic-pattern-recognition/prml-algorithm-executions.md) — Self-contained Matlab code that reproduces every algorithm from the Pattern Recognition and Machine Learning textbook using the book's exact formulas and notation. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [PRML](https://awesome-repositories.com/f/education-learning-resources/algorithm-implementations/prml.md) — Runs core machine learning algorithms from the PRML textbook using compact, vectorized MATLAB code.
- [Annotated Code Implementations](https://awesome-repositories.com/f/education-learning-resources/annotated-code-implementations.md) — Annotates code with corresponding PRML formulas and matching symbols for direct traceability to the book. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [Classification Implementations](https://awesome-repositories.com/f/education-learning-resources/linked-list-algorithms/algorithm-implementations/classification-implementations.md) — Ships self-contained MATLAB implementations of classification algorithms from the PRML textbook. ([source](http://prml.github.io/))
- [PRML](https://awesome-repositories.com/f/education-learning-resources/linked-list-algorithms/algorithm-implementations/prml.md) — Provides MATLAB implementations of algorithms from the PRML textbook for reproducing and verifying machine learning methods.
- [Textbook Implementations](https://awesome-repositories.com/f/education-learning-resources/textbook-implementations.md) — Implements algorithms exactly as described in the PRML textbook for direct verification and educational study.

### Artificial Intelligence & ML

- [Density Estimation](https://awesome-repositories.com/f/artificial-intelligence-ml/density-estimation.md) — Implements density estimation methods including mixture models and non-parametric approaches from the PRML textbook. ([source](http://prml.github.io/))
- [K-Means Clustering](https://awesome-repositories.com/f/artificial-intelligence-ml/k-means-clustering.md) — PRML clusters data points into groups by iteratively assigning points to nearest centroids and updating centroid positions. ([source](http://prml.github.io/))
- [K-Means and Mixture Model Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/k-means-clustering/clustering-algorithms/k-means-and-mixture-model-implementations.md) — Provides MATLAB implementations of K-means and mixture model clustering from the PRML textbook. ([source](http://prml.github.io/))
- [Formula-Matched Reproductions](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning-implementations/figure-reproductions/formula-matched-reproductions.md) — Matches formulas and notation of the PRML book to directly verify and reproduce described machine learning techniques. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [Regression Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/algorithms/linear-regression-implementations/regression-implementations.md) — Implements regression methods including linear basis function models and Gaussian processes from the PRML textbook. ([source](http://prml.github.io/))
- [Neural Network Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-network-implementations.md) — Implements neural network methods including backpropagation and deep learning models from the PRML textbook. ([source](http://prml.github.io/))
- [Numerical Stability Techniques](https://awesome-repositories.com/f/artificial-intelligence-ml/numerical-stability-techniques.md) — PRML maintains numerical stability during algorithm execution by using log-domain probabilities and square root matrix updates. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [Symmetric Matrix Square Root Updates](https://awesome-repositories.com/f/artificial-intelligence-ml/numerical-stability-techniques/symmetric-matrix-square-root-updates.md) — PRML maintains positive definiteness and symmetry of matrices through square root update techniques for robust numerical operations. ([source](http://prml.github.io/))
- [Numerical Stability Utilities](https://awesome-repositories.com/f/artificial-intelligence-ml/prediction-visualization/loss-function-calculators/numerical-stability-utilities.md) — Matlab functions for log-domain probability calculations and symmetric matrix square root updates to maintain accuracy during algorithm execution.
- [Centroid-Based Clustering](https://awesome-repositories.com/f/artificial-intelligence-ml/centroid-based-clustering.md) — PRML implements K-means clustering through iterative assignment and centroid update steps for educational verification.

### Part of an Awesome List

- [Textbook Algorithm Executions](https://awesome-repositories.com/f/awesome-lists/ai/machine-learning-algorithms/textbook-algorithm-executions.md) — Executes core machine learning algorithms from the PRML textbook using compact, vectorized MATLAB code. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [Matrix Factorization Libraries](https://awesome-repositories.com/f/awesome-lists/ai/mathematics-for-machine-learning/matrix-factorization-libraries.md) — Decomposing matrices into eigenvalue or singular value forms for efficient computation in machine learning pipelines.
- [General Machine Learning](https://awesome-repositories.com/f/awesome-lists/ai/general-machine-learning.md) — Implementation of algorithms from pattern recognition literature.
- [Learning and Reference](https://awesome-repositories.com/f/awesome-lists/learning/learning-and-reference.md) — Code implementations for machine learning algorithms.

### Scientific & Mathematical Computing

- [Eigenvalue and SVD Decompositions](https://awesome-repositories.com/f/scientific-mathematical-computing/matrix-factorization-toolkits/eigenvalue-and-svd-decompositions.md) — Matlab code for eigenvalue and singular value decompositions used in machine learning computations.
- [MATLAB Vectorized Computations](https://awesome-repositories.com/f/scientific-mathematical-computing/numpy-array-integration/vectorized-data-processing/matlab-vectorized-computations.md) — Compact, vectorized Matlab functions that execute machine learning algorithms efficiently on array data using matrix operations.
- [Matrix Factorization Toolkits](https://awesome-repositories.com/f/scientific-mathematical-computing/matrix-factorization-toolkits.md) — PRML decomposes matrices into eigenvalue or singular value forms for efficient computation in machine learning pipelines. ([source](http://prml.github.io/))
- [Vectorized ML Task Accelerations](https://awesome-repositories.com/f/scientific-mathematical-computing/numerical-computation-accelerations/vectorized-ml-task-accelerations.md) — PRML accelerates common machine learning tasks by applying vectorization and matrix factorization to outperform built-in functions by orders of magnitude. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
- [Log-Space Computations](https://awesome-repositories.com/f/scientific-mathematical-computing/numerical-mathematical-foundations/statistics-probability/probability-distributions/marginal-probability-computation/log-space-computations.md) — PRML applies techniques like log-domain probability and symmetric matrix updates to maintain accuracy during computation. ([source](https://cdn.jsdelivr.net/gh/prml/prmlt@main/README.md))
