
Chapter 3 / Introductory
Gradient Descent from Scratch in Python
Understand the gradient descent update rule, implement it with NumPy, and see how step size changes convergence.
Read the guideVisual, executable learning guides
Build core algorithms from their equations with compact, tested NumPy examples. Every guide connects its visual explanation to the official Machine Learning Refined chapter, notebook, exercises, and source repository.

Chapter 3 / Introductory
Understand the gradient descent update rule, implement it with NumPy, and see how step size changes convergence.
Read the guide
Chapter 6 / Introductory
Build binary logistic regression with NumPy from the sigmoid, cross-entropy loss, and gradient update.
Read the guide
Chapter 8 / Introductory
Implement K-means clustering with NumPy by alternating nearest-centroid assignments and centroid updates.
Read the guide