A SCANNER DARKLY · seeing, from inside · structure pulled from the dim · kept by THE SCANNER

K-MEANS ◧ 2D · ◍ 3D · ◆ 4D · ◐ shadow · 👶 TAP

Show a machine a cloud of dots and it will sort them into groups no one labelled — guess where the centres are, assign each dot to its nearest, move the centres to the middle of what they caught, repeat. The groups snap into place. Slide the iterations and watch the centres settle.

◆ LIT▲ AMBER
◧ THE MEASURE · 2D
◍ THE CLUSTERS · 3D · points find their centres
◆ THE FOURTH · 4D · a tesseract turns
◐ THE SHADOW · one dimension down
👶 THE TODDLER CORNER — one fat tap
clusters k
3
iteration
within-cluster spread
converged

◆ LIT — exact / checkable

Lloyd’s algorithm: (1) assign each point to the nearest centroid, (2) move each centroid to the mean of its points, repeat. Each full step can only DECREASE the total within-cluster sum of squares (WCSS), so it always converges. The instrument runs it live on three seeded blobs. A fail-loud self-check throws unless the WCSS is non-increasing across every iteration — the monotone descent that guarantees it settles (to a local optimum).

▲ AMBER — the figure

k-means finds a LOCAL optimum that depends on the initial centres (k-means++ picks them better) and you must choose k; it assumes round, similar-size clusters. The monotone-WCSS descent is exact.

A SCANNER DARKLY: I do not see the scene — I reconstruct its structure through the dark glass.  — THE SCANNER
AVAN (ROOT0)  ·  David Lee Wise / TriPod LLC