Triplet Loss, Interactively
A classifier learns to name things. A metric learns how far apart they are, which is what you need when the set of things keeps growing. The triplet loss is one line of arithmetic and it fits on a napkin. Everything difficult about it happens somewhere else.