pyprobml
Python notebooks that recreate the figures from Kevin Murphy's "Probabilistic Machine Learning" textbooks.
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
Python notebooks that recreate the figures from Kevin Murphy's "Probabilistic Machine Learning" textbooks.
This repository holds the code behind the figures in two well-known textbooks: Probabilistic Machine Learning: An Introduction, and its follow-up on advanced topics.
The code is in notebooks, documents that mix explanation and runnable code. They use standard Python tools, plus JAX, TensorFlow and PyTorch in places.
You can run them in your browser with Google Colab or on your own computer. The README says the code has been in maintenance mode since September 2022.
Students and self-learners working through the books who want to see and change the code behind each figure.
Developers only. You need to be comfortable running Python notebooks. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?