Try it yourself

The car park rule

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.

Your task Drag the slider to the setting whose line you would trust to predict tomorrow. Watch what the line does with the van and the training day.
past mornings one-off mornings your memory's rule the next twelve mornings
← keeps every detaillets almost everything 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.

This is a toy: the mornings are invented, and the rule is a standard machine-learning curve whose fading is set by the slider. It shows the idea in the article. Whether the brain forgets for this reason is a proposal, tested so far in computers and not yet directly in people.
How your rule did

Every setting, past and future
off by, on the past mornings off by, on the next mornings where the slider is now your locked-in pick

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.