GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PRML/PRMLT: Matlab code of machine learning algorithms in book PRML

BranchesTags
Open more actions menu

Latest commit

 

History

512 Commits
512 Commits

Folders and files

NameName
Last commit message
Last commit date
chapter01
chapter01
 
 
chapter02
chapter02
 
 
chapter03
chapter03
 
 
chapter04
chapter04
 
 
chapter05
chapter05
 
 
chapter06
chapter06
 
 
chapter07
chapter07
 
 
chapter08
chapter08
 
 
chapter09
chapter09
 
 
chapter10
chapter10
 
 
chapter11
chapter11
 
 
chapter12
chapter12
 
 
chapter13
chapter13
 
 
chapter14
chapter14
 
 
common
common
 
 
demo
demo
 
 
.gitignore
.gitignore
 
 
Contents.m
Contents.m
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
init.m
init.m
 
 

Repository files navigation

Introduction

This Matlab package implements machine learning algorithms described in the great textbook: Pattern Recognition and Machine Learning by C. Bishop (PRML).

It is written purely in Matlab language. It is self-contained. There is no external dependency.

Note: this package requires Matlab R2016b or latter, since it utilizes a new Matlab syntax called Implicit expansion (a.k.a. broadcasting). It also requires Statistics Toolbox (for some simple random number generator) and Image Processing Toolbox (for reading image data).

Design Goal

  • Succinct: The code is extremely compact. Minimizing code length is a major goal. As a result, the core of the algorithms can be easily spotted.
  • Efficient: Many tricks for speeding up Matlab code are applied (e.g. vectorization, matrix factorization, etc.). Usually, functions in this package are orders faster than Matlab builtin ones (e.g. kmeans).
  • Robust: Many tricks for numerical stability are applied, such as computing probability in logrithm domain, square root matrix update to enforce matrix symmetry\PD, etc.
  • Readable: The code is heavily commented. Corresponding formulas in PRML are annoted. Symbols are in sync with the book.
  • Practical: The package is not only readable, but also meant to be easily used and modified to facilitate ML research. Many functions in this package are already widely used (see Matlab file exchange).

Installation

  1. Download the package to a local folder (e.g. ~/PRMLT/) by running:
git clone https://github.com/PRML/PRMLT.git
  1. Run Matlab and navigate to the folder (~/PRMLT/), then run the init.m script.

  2. Run some demos in ~/PRMLT/demo folder. Enjoy!

FeedBack

If you find any bug or have any suggestion, please do file issues. I am graceful for any feedback and will do my best to improve this package.

License

Released under MIT license

Contact

sth4nth at gmail dot com

About

Matlab code of machine learning algorithms in book PRML

prml.github.io/

Topics

algorithmsmachine-learningmachine-learning-algorithmsmatlabprml

Resources

Readme
MIT license
Activity
Custom properties

Stars

6.2k stars

Watchers

402 watching

Forks

2.1k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.