A field guide to vector similarity measures
Dot product, cosine, Euclidean, Manhattan and Hamming - what each one actually measures, why most of them collapse into the same ranking once your vectors are normalised, and the handful of mistakes that bite in practice.

