AI ATLASAn interactive field guide
Concept 09 / The data room / Representation

Encoding categories.

Words need numeric form before a model can use them. Integer codes invent an ordering; one-hot vectors place categories at equal distance. Move the coding rule and see why.

The encoding studio

Orbit the geometry and compare it with the exact vectors below.

01 / Category geometryInteger ID
Equal axes
The 3D position is the actual encoded vector for the three known categories. Integer IDs sit on one axis; one-hot vectors occupy separate axes.

Words → vectors

Pairwise distances

Euclidean distance is calculated from the exact vectors, not from screen coordinates.