Recognition by association via learning per-exemplar distances | Synapse