🔎Cosine Similarity
Also known as Cosine Distance, Cosine Score
A score that says how alike two vectors are, by their angle.
Think of it like
Think of it like two arrows. If they point the same way, the things they stand for are alike.
Example
Lucy compares 'cheap flights' with 'low-cost air travel' and gets 0.89. With 'chocolate cake' she gets 0.12.
Why it matters
It is the number behind most AI search. It decides which texts count as close.
Definition
Common mistake
Key takeaways
- 1Angle, not length. Direction is what counts.
- 2From 1 to minus 1. Higher is closer.
- 3Cut-offs vary. Each model has its own.