🔮 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.
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.
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.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install