#123123rd of 171 in Learning and cookbooks
machine-learning-visualized
Jupyter Book deriving and animating classic ML algorithms from first principles
Watch puts machine-learning-visualized on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.machine-learning-visualized is on your watch list. Its new releases and problems show there.
- Stars
- 2.1k
- License
- MIT
- Last commit
- Aug 2026
- Language
- TeX
1,178 on 28 Apr 20262,131 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Build configuration for the ml-visualized.com Jupyter Book, which collects notebooks that derive ML algorithms mathematically and animate training until the weights converge. Covered algorithms include neural networks, autoencoders, logistic regression, perceptron, PCA, K-means and gradient descent. Marimo interactive notebooks show how weights affect loss functions. The notebooks live in separate repos and are fetched by a shell script before building.
Who it is for: Students and educators learning ML math and training dynamics visually
Strengths
- Each notebook pairs a math derivation with an animation of training to convergence
- Marimo interactive notebooks let you vary weights and watch the loss change
- Hosted site at ml-visualized.com, so nothing needs to be installed to read it
- Builds locally via jupyter-book CLI, Docker or Docker Compose; EPUB export documented
Weaknesses
- Notebooks are not in this repo; a download script must pull them from seven others
- Covers only seven classic algorithms; no transformers or modern LLM topics listed
- EPUB build needs MacTeX via Homebrew, so the documented path is macOS-oriented
- Repo is build config only, so there is little runnable algorithm code here
What it needs
- no GPU
- Docker + Compose
- Needs Jupyter Book, Marimo, Docker (optional), MacTeX (EPUB build only)
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #121 | pyprobmlNotebooks that reproduce figures from the Probabilistic Machine Learning books | 36 out of 100 |
| #122 | machine-learning-refinedTextbook notebooks for learning machine learning by implementing it from scratch | 36 out of 100 |
| #124 | the-little-book-of-ml-metricsOpen-source handbook explaining ML metrics, from accuracy to obscure ones | 36 out of 100 |
| #125 | context-engineeringHandbook and code examples for designing what goes into an LLM's context | 35 out of 100 |
| #126 | transformer-explainerInteractive browser visualization of how GPT-2 predicts the next token | 35 out of 100 |