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.

Connect