============================================================================================== RAHUL'S ML BLOG -- notes on machine learning, worked out by hand est. 2026 ============================================================================================== home | about | archive | glossary | contact ---------------------------------------------------------------------------------------------- ALL POSTS -- a book in 28 posts: 10 chapters + an appendix, in reading order. First time here? Start from the beginning. CHAPTER 1 -- PREDICTING HOUSE PRICES (2026) ------------------------------------------- post 1/28 Part 1 -- Guessing House Prices, End to End post 2/28 Part 2 -- Ask the Closest Rows: Gap, Same-Ruler, and How Slow It Gets post 3/28 Part 3 -- The Straight-Stick Rule: Dials, Leftovers, and Numerics CHAPTER 2 -- GRADING A GUESSER (2026) ------------------------------------- post 4/28 Part 1 -- Two Rulers for One Guess: MSE and R^2 post 5/28 Part 2 -- Reading the Dials: What the Coefficients Say CHAPTER 3 -- SORTING INTO BINS (2026) ------------------------------------- post 6/28 Part 1 -- The S-Curve, the Four-Box Table, and Why Accuracy Lies post 7/28 Part 2 -- The Trade Curve: Sliding the Cutoff and What AUC Measures post 8/28 Part 3 -- Leash and Cloud: L2 Punishment and the Two-Cloud Wall post 9/28 Part 4 -- Picking Settings, Skewed Piles, and Averaging Many Classes CHAPTER 4 -- HUMBLE DIALS AND WOBBLE BANDS (2026) ------------------------------------------------- post 10/28 Part 1 -- The Leash: Ridge, Lasso, and Humbling the Dials post 11/28 Part 2 -- One Dial Is a Lie: Bootstrap, Wobble Bands, and the Free Exam post 12/28 Part 3 -- The Dial by Hand: Where the Dials Really Come From CHAPTER 5 -- QUESTION CHARTS AND COMMITTEES (2026) -------------------------------------------------- post 13/28 Part 1 -- Question Charts: Building a Tree by Hand post 14/28 Part 2 -- The Mixing Ruler: Gini, Information Gain, and Pruning post 15/28 Part 3 -- Committees: Bagging, Random Forest, and Boosting CHAPTER 6 -- FINDING PATTERNS WITHOUT ANSWERS (2026) ---------------------------------------------------- post 16/28 Part 1 -- Looking at a Sheet With No Answers: Means, Distance, and the Ruler Problem post 17/28 Part 2 -- The Strongest Direction: Crushing a Many-Wall Room Into a Flat Page (PCA) post 18/28 Part 3 -- Grouping by Nearest Centre: K-Means From a Blank Sheet post 19/28 Part 4 -- The Family Tree: Hierarchical Clustering and the Dendrogram post 20/28 Part 5 -- Both Tools on NCI60: PCA and Clustering on Real Gene Data post 21/28 Part 6 -- Filling the Blanks: Recommender Systems and Matrix Factorisation CHAPTER 7 -- BUILDING A NEURAL NETWORK FROM SCRATCH (2026) --------------------------------------------------------- post 22/28 Part 1 -- Stacked Rooms and One Walk by Hand: How a Network Computes a Guess post 23/28 Part 2 -- Rolling Downhill by Hand: How a Network Learns CHAPTER 8 -- KEEPING A NETWORK HONEST (2026) -------------------------------------------- post 24/28 Five Machines Against Memorising: A Tax, a Coffee Break, a Fire Alarm, and a Humbler CHAPTER 9 -- MACHINES THAT LOOK AT PICTURES (2026) -------------------------------------------------- post 25/28 Part 1 -- A Magic Paper Slid Over a Photo: How a Picture Network Sees post 26/28 Part 2 -- The Deep Factory: Humbler, Send-Home, and the Confusion Sheet CHAPTER 10 -- MACHINES THAT READ WORDS (2026) --------------------------------------------- post 27/28 Part 1 -- Words Into a Machine: The Notepad and the Walking Worker post 28/28 Part 2 -- The Two-Memory Worker: How an LSTM Remembers Far-Back Words APPENDICES -- FLIP-TO REFERENCES (2026) --------------------------------------- reference A. Classification Reference -- Loss, Leash, Grid, and All the Terms reference B. Distance and Clustering Reference -- Rulers, Traps, and Ethics reference C. LSTM From Pencil -- RNN and LSTM From Scratch, Nothing But a Pencil ---------------------------------------------------------------------------------------------- (c) 2026 Rahul Rai . pure HTML+CSS, no JavaScript, no trackers . home . source on GitHub ==============================================================================================