machine-learning-visualized
A Jupyter Book that implements machine learning algorithms in NumPy and derives the math from first principles. Meant for learners who want to understand how the algorithms work.
Share on XLicense: MIT
Overview
Machine Learning Visualized is a Jupyter Book that teaches machine learning algorithms by deriving them from first principles in Jupyter Notebooks with NumPy. The output of each notebook is a visualization of the algorithm during training, ending at its optimal weights. There are also interactive notebooks built with Marimo that show how weights affect loss functions. This repository only holds the code that configures and builds the book, while each algorithm has its own separate repository.
Key features
- Notebooks that derive algorithms mathematically with NumPy
- Visualizes training until the weights converge
- Interactive Marimo notebooks showing weights against loss
- Builds a website from Markdown and notebooks with Jupyter Book
Best for
Learners who want to see how ML algorithms work step by step rather than call a library. The algorithm code itself lives in separate repositories.
- Upstream
- gavinkhung/machine-learning-visualized
- Fork on GitHub
- Guo-astro/machine-learning-visualized
- Upstream stars
- 2.0k
- Category
- Learning, interviews and curated lists
- Language
- TeX
- License
- MIT
- Forked
- 2026-08-11
- Sync status
- In syncLast synced 2026-10-11
More in Learning, interviews and curated lists
A cross-agent learning skill that turns books, PDFs, and other materials into traceable interactive study pages. Use it to review, take notes, and check learning against the source.
Forked 2026-10-10Last synced 2026-10-11License: MITLearning, interviews and curated listsGitHub
A community-maintained guide to courses in Tsinghua University's computer science department, with course materials and reference books. Students use it to find study resources and course guidance.
Forked 2026-10-10Last synced 2026-10-11License: CC-BY-SA-4.0Learning, interviews and curated listsGitHub
A Jupyter Notebook book on self-teaching for learning coding and study habits. It gives readers a practical path for learning by reading, practicing, and improving their own methods.
Forked 2026-10-08Last synced 2026-10-11No license declaredLearning, interviews and curated listsGitHub
A learning repository for Machine Learning Systems, bringing textbook concepts, labs, tools, and hardware context together so learners can study and build real AI engineering workflows.
Forked 2026-10-07Last synced 2026-10-11Custom license (see repository)Learning, interviews and curated listsGitHub