Home▸AI & Machine Learning▸Memorising Random Labels: Cover's Capacity of One Linear Unit on a Celestial Sphere

🔮 Memorising Random Labels: Cover's Capacity of One Linear Unit on a Celestial Sphere

How many random labels can one linear unit memorise? Each of P points cuts the sphere of weight directions with a great circle, and the cells between the circles are the labelings a hyperplane can produce: Cover's counting theorem C(P,N) = 2 sum binom(P-1,k) gives P(P-1)+2 cells for N = 3. Sweep or set the direction w, watch the live cell count, then use the charts for any N up to 16 (with or without bias): every labeling fits up to P = N, exactly half at P = 2N, almost none beyond, and the step sharpens as N grows. Checks: exact cell enumeration, Euler relation, brute-force simplex LP over all labelings, Monte Carlo with an exact LP, normal approximation.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Memorising Random Labels: Cover's Capacity of One Linear Unit on a Celestial Sphere ↗ Open standalone

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.

⚙ Under the hood

How many random labels can one linear unit memorise? Each of P points cuts the sphere of weight directions with a great circle, and the cells between the circles are the labelings a hyperplane can produce: Cover's counting theorem C(P,N) = 2 sum binom(P-1,k) gives P(P-1)+2 cells for N = 3. Sweep or set the direction w, watch the live cell count, then use the charts for any N up to 16 (with or without bias): every labeling fits up to P = N, exactly half at P = 2N, almost none beyond, and the step sharpens as N grows. Checks: exact cell enumeration, Euler relation, brute-force simplex LP over all labelings, Monte Carlo with an exact LP, normal approximation.

Cover's TheoremLinear ClassifierMemorisation CapacityPerceptronSeparabilityCounting TheoremMachine Learning Theory

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)