📐 Cosine similarity
=== the ⚫️ Dot-product of two vectors, scaled by their magnitude (= 📏 Vector length) → difference between two vectors in terms of their angle==
Formula
====
- : vector 1
- : vector 2
Meaning
- Result: in range [-1, 1]
- -1: opposite direction
- +1: same direction
- 0: orthogonal
🔗 Links