Cosine similarity

The cosine of the angle between two vectors: 1 when they point the same way, 0 when perpendicular. The standard way to score how close two embeddings are, because it ignores magnitude and compares direction alone.

A definition is not an understanding. This is taught properly in Turning meaning into coordinates, part of Embeddings.

Learn this properly

Terms from the same topic