- Glossary
- Cosine similarity
Glossary term
Cosine similarity
A measure of how similar two vectors are, based on the angle between them, from -1 to 1.
Open lesson 4.2
Similarity: cosine and dot product · Chapter 4
In plain words
It ignores vector length, so a long document is not favoured just for being long. For normalised vectors it equals the dot product.