● support example ○ query example (ring = correct/wrong) class prototype
drag to pan · scroll/pinch to zoom

Prototypical Networks: Few-Shot Classification by Distance (2D)

This 2D companion to the 3D Prototypical Networks scene keeps the exact same governing rule — a class prototype is the mean of its few labelled support embeddings, and a query point is classified by whichever prototype it lands nearest — but computes prototypes, nearest-neighbour classification and the Voronoi decision field independently, from a true top-down map instead of a perspective camera. Drag to pan and scroll to zoom into any region of the embedding space, adjust N-way, K-shot and cluster spread to resample a fresh episode, and watch a dedicated per-class panel track live accuracy and average distance-to-prototype as bars — a breakdown the 3D view has no room to show. It is the same few-shot mechanism that underlies real image and audio classifiers, just made fully explorable at native 2D resolution.