Cosine similarity
Cosine similarity measures how closely two nonzero vectors point in the same direction, using their dot product divided by the product of their lengths. It is unaffected by vector magnitude.
Linked from 9 pages
Inner productRelated: It uses the angle encoded by an inner product to compare vector directions.
DistanceCompared with: It compares direction rather than how far apart vector endpoints are.
Inner product spaceRelated: It compares directions while ignoring vector magnitudes.
Facial recognition systemRelated: It is one way to score whether two facial embeddings are alike.