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-09-29
More in Learning, interviews and curated lists
A collection of real DevOps, SRE and cloud engineering interview questions gathered from candidates in 2025 and 2026. It is meant for interview preparation.
Forked 2026-09-28Last synced 2026-09-29No license declaredLearning, interviews and curated listsGitHub
A free course that teaches the skills needed to administer a remote Linux server from the command line. It is aimed at beginners who want to become sysadmins.
Forked 2026-09-26Last synced 2026-09-29Custom license (see repository)Learning, interviews and curated listsGitHub
- google-interview-preparation-problemsforked from mgechev/google-interview-preparation-problemsIn sync
A collection of LeetCode and GeeksforGeeks problems with solutions that the author solved while preparing for a Google interview. Useful for coding interview practice.
Forked 2026-09-26Last synced 2026-09-29No license declaredLearning, interviews and curated listsGitHub
An online study site for all four books of New Concept English, with audio reading of texts, tap-to-play single sentences and side-by-side English and Chinese.
Forked 2026-09-25Last synced 2026-09-29License: MITLearning, interviews and curated listsGitHub