Question: 1. a. For binary data, the L1 distance corresponds to the Hamming distance; that is, the number of bits that are different between two binary

1. a. For binary data, the L1 distance corresponds to the Hamming distance; that is, the number of bits that are different between two binary vectors. Computer the Hamming distance and the Jaccard similarity between the following two binary vectors. x = 0101010001 and y = 0100011000 b. Compute the Simple Matching Coefficient c. Which approach, Jaccard or Hamming distance, is more similar to the Simple Matching Coefficient. 2. For the following vectors, x and y, calculate the indicated similarity or distance measures a. x = (1,1,1,1), y = (2,2,2,2) cosine, correlation, Taxicab, Euclidean, and Supremum b. x= (0,1,0,1), y = (1,0,1,0) cosine, correlation, Euclidean, and Jaccard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
