Imagine you park at the same big car park every working day. Over time your memory builds a rule of thumb: how full will it be when I arrive at a given time? The dots below are twelve past mornings: when you arrived, and how full the car park was.
Two of those mornings were one-offs. On one, a delivery van blocked a whole row, so the car park looked unusually full. On another, half the office was away on a training day, so it was unusually empty. Neither is likely to happen tomorrow.
The gold line is the rule your memory has drawn from those mornings. The slider sets how much your memory lets the details of each morning fade.
Matching the past is not the goal: the line that fits the old dots best is not always the one that guesses new mornings best. When the line looks right to you for tomorrow, lock it in to see the next twelve mornings.
Keep moving the slider to explore: both charts update together, and your locked-in pick stays marked.
The setting that matches the past best is the one that remembers everything, including the van and the training day. It predicts tomorrow badly, because it has learned those accidents as if they were the rule. Let too much fade, and the rule forgets the one thing worth knowing: the car park fills up as the morning goes on. In machine learning, the first failure is called overfitting, and the fading that prevents it is called regularisation.