#122122nd of 171 in Learning and cookbooks

machine-learning-refined

Textbook notebooks for learning machine learning by implementing it from scratch

Stars
2.3k
License
custom license
Last commit
Oct 2026
Last release
Dec 2025
Language
Python
Stars, last 30 weeks+422
27 Apr 2026: 1,894 stars4 May 2026: 1,894 stars11 May 2026: 1,894 stars18 May 2026: 1,895 stars25 May 2026: 1,896 stars1 Jun 2026: 1,927 stars8 Jun 2026: 2,038 stars15 Jun 2026: 2,178 stars22 Jun 2026: 2,198 stars29 Jun 2026: 2,208 stars6 Jul 2026: 2,226 stars13 Jul 2026: 2,234 stars20 Jul 2026: 2,239 stars27 Jul 2026: 2,241 stars3 Aug 2026: 2,247 stars10 Aug 2026: 2,247 stars17 Aug 2026: 2,252 stars24 Aug 2026: 2,254 stars31 Aug 2026: 2,271 stars7 Sept 2026: 2,275 stars14 Sept 2026: 2,284 stars21 Sept 2026: 2,288 stars28 Sept 2026: 2,292 stars5 Oct 2026: 2,297 stars12 Oct 2026: 2,302 stars19 Oct 2026: 2,304 stars26 Oct 2026: 2,307 stars2 Nov 2026: 2,310 stars9 Nov 2026: 2,313 stars16 Nov 2026: 2,316 stars23 Nov 2026: 2,316 stars

1,894 on 27 Apr 20262,316 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Companion repository to the 2nd edition of the textbook Machine Learning Refined. It holds chapter PDFs, Jupyter notebooks (many with Colab links), exercises with datasets, and PPTX lecture slides. Topics start with zero-, first- and second-order optimization, then cover linear regression and classification; the README is truncated after Chapter 7, so later chapters are unconfirmed.

Who it is for: Students and instructors learning classic machine learning in Python

Strengths

  • Notebooks implement optimization, regression and classification without high-level libraries
  • Many notebooks open directly in Colab, so no local setup is needed
  • Includes chapter PDFs, exercises with datasets and lecture slides for teaching
  • Companion site has guides on gradient descent, logistic regression and k-means

Weaknesses

  • Online notebooks are early drafts; the final text is only in the PDFs
  • Some sections have no notebook, only a title in the contents list
  • License is reported as NOASSERTION, so reuse terms are unclear
  • Classic ML only, based on the README outline; no LLM content shown

What it needs

  • no GPU
  • Docker + Compose
  • Needs Jupyter, Python, Google Colab (optional)

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#120fun-recChinese-language textbook on recommender systems, from cascades to generative models7.5k starsno license36 out of 100
#121pyprobmlNotebooks that reproduce figures from the Probabilistic Machine Learning books7.2k starsMIT36 out of 100
#123machine-learning-visualizedJupyter Book deriving and animating classic ML algorithms from first principles2.1k starsMIT36 out of 100
#124the-little-book-of-ml-metricsOpen-source handbook explaining ML metrics, from accuracy to obscure ones1k starsno license36 out of 100
#125context-engineeringHandbook and code examples for designing what goes into an LLM's context9.3k starsMIT35 out of 100