#5353rd of 55 in Learning and cookbooks

pyprobml

Notebooks that reproduce figures from the Probabilistic Machine Learning books

Stars
7.2k
License
MIT
Last commit
Feb 2026
Last release
May 2022
Language
Jupyter Notebook

Missed the latest GitHub check; these facts may be older.

Overview

Python 3 Jupyter notebooks that regenerate the figures in "Probabilistic Machine Learning: An Introduction" (book 1) and "Advanced Topics" (book 2). Code uses numpy, scipy, matplotlib and sklearn, with JAX in much of book 2 and TensorFlow 2 or Torch in parts of book 1. The repo has been in maintenance mode since September 2022.

Who it is for: Students and readers working through the Probabilistic ML books

Strengths

  • Notebooks organized by chapter for both book 1 and book 2
  • Runs in Colab with free GPU/TPU; Colab intro notebook included
  • Status dashboards show which figure notebooks currently run
  • Shared plotting helpers live in the separate probml-utils package

Weaknesses

  • Maintenance mode since September 2022; last release 2022-05-05
  • Tied to the books; not a standalone library or course
  • JAX, TensorFlow and Torch must be installed manually first
  • No Docker setup; local install is a requirements.txt plus manual steps

What it needs

  • GPU optional
  • Needs JAX, TensorFlow 2, Torch, numpy, scipy, matplotlib, scikit-learn

Also in Learning and cookbooks

See all 55
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on AI engineering curriculum with 542 lessons across 20 phases72.1k starsMIT90 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript121.8k starsMIT81 out of 100
3ai-agents-for-beginners18-lesson course on building AI agents with Microsoft Agent Framework77.6k starsMIT79 out of 100
#4cs249r_bookOpen textbook and course materials for machine learning systems engineering29.1k starscustom license79 out of 100
#5llms-from-scratchCode for the book on building a GPT-style LLM in PyTorch107k starscustom license77 out of 100