for the following vectors x and y calculate the indicated similarity or distance measures 1
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, Euclidean (40 points)
(b) x = (0, 1, 0, 1), y = (1, 0, 1, 0) cosine, correlation, Euclidean, Jaccard (40 points)
(c) x = (0,−1, 0, 1), y = (1, 0,−1, 0) cosine, correlation, Euclidean (40 points)
(d) x = (1, 1, 0, 1, 0, 1), y = (1, 1, 1, 0, 0, 1) cosine, correlation, Jaccard (40 points)
(e) x = (2,−1, 0, 2, 0,−3), y = (−1, 1,−1, 0, 0,−1) cosine, correlation (40 points)
Make sure you include all steps, and do not just list the final answer.