These examples find and compare the Cosine, Euclidean, and Manhattan distances between a reference vector and each of several target vectors. Short distance implies similarity—the closer a target vector is to the reference vector, the more similar to the reference vector it is considered to be.