Learnable parameters: fit the line yourself

A neuron is just price = size × weight + bias. Training is the search for the weight and bias that make predictions match reality. Drag the two knobs to minimize the total error — you're doing by hand what gradient descent does automatically.

150
50000
price = size × 150 + 50000
size (sq ft)predictedactualerror²