A model that can fit any pattern you throw at it has, paradoxically, learned nothing. If your hypothesis bends to match every possible labelling of the training data, it is just memorizing — it will follow noise as eagerly as signal and fail on anything new.
In 1971 Vladimir Vapnik and Alexey Chervonenkis gave this intuition a precise number. The VC dimension of a family of classifiers is the size of the largest set of points it can shatter: label in every one of the possible ways. The bigger that number, the more flexible the model — and the more data you need before its training accuracy means anything.
It is one of the foundational results of learning theory, and it draws a clean line between models that can generalize and models that only appear to.
Comments
Loading comments...