Describe several properties of Vector Similarity.
Describe several properties of Vector Similarity.
How is the similarity dot product defined?
How is the similarity dot product defined? X = [x1, x2,…, xp], Y = [y1, y2, …, yp] sim(X, Y) = [i=1 to p] sum( xi * yi)
How is Manhattan Distance defined?
How is Manhattan Distance defined? d(X, Y) = [i=1 to p] sum |xi - yi|
How is Euclidean Distance defined?
How is Euclidean Distance defined? d(X, Y) = sqrt( [i=1 to p] sum (xi - yi)^2 )
What are the advantages of Manhattan or Euclidean distance measures?
What are the advantages of Manhattan or Euclidean distance measures? 1. Symmetry: d(X, Y) = d(Y, X) 2. Non-Negative 3. d(X, X) = 0 4. Triangle inequality: d(X, Y) <= d(X, Z) + d(Z, Y)
What are some disadvantages of Manhattan and Euclidean distance measures?
What are some disadvantages of Manhattan and Euclidean distance measures? 1. Vectors may not be normalized. 2. Vectors with larger values likely to yield higher values. 3. These are the same issues with Dot Products.
What are the properties of Cosine Similarity?
What are the properties of Cosine Similarity?
What is the equation for Cosine Similarity?
What is the equation for Cosine Similarity?
cos(X, Y) = Eip xi * yi / ( Eip x2 * Ein y2 )
What are the advantages of Cosine Similarity?
What are the advantages of Cosine Similarity?
What are the benefits of the Pearson Correlation Coefficient?
What are the benefits of the Pearson Correlation Coefficient?