Memorising Random Labels (2D): Cover's Counting Theorem on a Circle of Directions
The same theorem on a circle of directions (N = 2): each data point cuts the circle at two angles, the arcs are the 2P possible labelings, and the page shows the live sweep, the exact probability that random labels are separable and a chart of it against the number of points, with Blender-rendered star and pointer sprites.
Give a linear unit P random points and P random plus-or-minus labels. Cover's counting theorem says exactly how often one hyperplane can realise all of them: always up to P = N, half the time at P = 2N, almost never beyond. This page draws the cells of the arrangement on a sphere, sweeps the classifier direction through them and checks the theorem against an exact linear-programming experiment.
The same theorem on a circle of directions (N = 2): each data point cuts the circle at two angles, the arcs are the 2P possible labelings, and the page shows the live sweep, the exact probability that random labels are separable and a chart of it against the number of points, with Blender-rendered star and pointer sprites.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install