I built a machine that learns, in plain Python
Part I · Why learning works at all · Grad School: Build a Neural Network Framework from Scratch
In Part I you fitted a line by hand, measured how wrong it was, walked downhill in the dark, and watched a single neuron fail at XOR until a kink fixed it.