Deep Learning · Foundations: the linear model · Linear Regression · The whole process

From eight features to one price,
A to Z

The single-neuron model behind deep learning: a weighted sum plus a bias, fitted by least squares or gradient descent.

Twenty-six steps, one California district. A to T take its eight numbers through the model to a predicted house value, the error of that guess and the gradient that measures it. U to Y show how the 9 weights are learned, in one shot by the normal equation or step by step by gradient descent. Z is what it costs to run and how to reuse it. Click any letter, press ▶, or use the arrow keys.

01

The whole process on one sheet

One district’s row enters on the left and a predicted price leaves the linear layer; the loss box scores it and computes the gradient. The dashed red loop underneath is training. Click any lettered dot to jump to that step.
Linear regression · inference above, training below100%
02

Step by step

Letters fill in as you pass them. Each step shows what goes in and what comes out; the panel on the right tracks the array shape and the running totals of parameters and multiply-adds, computed from the same model spec as the Blueprint page.
A
step 1 of 26
data100%
← → keys · any letter key jumps · F = full screen
data · standardiselinear layerresidual · MSE · gradient

goes in
→
comes out

array at this point
parameters so far
0
MACs so far
0
03

All 26 steps in one table

A printable summary: what each step takes in, what it hands on and the one figure to remember. Click a row to open that step.
letterstepinputoutputkey figure

04

Check yourself

Ten questions that cover the whole process, from shapes to cost. Pick an answer to see whether it is right and why; the explanation names the step to revisit.
0 answered
05

Glossary

Every term marked with a red ? on this page, in one place. Type to filter.