Back All notes Similarity metrics cosine distance Jaccard similarity Euclidean distance Pearson correlation coefficient