Hello,Attached file has the questions. please have a look and let me know
For the following vectors, x and y, calculate the indicated similarity or distance measures.
(a) x : (0,0,1,1), y : (2,2,2,2) cosine, correlation, Euclidean
(b) x : (0,1,0,1), y : (0,1,0,1) cosine, correlation, Euclidean, Jaccard
(c) x : (1,1,0,1), y : (-1,0,-1,0) cosine, correlation, Euclidean
(d) x : (1,0,0,1,0,1), y : (0,1,1,0,0,1) cosine, correlation, Jaccard
(e) x : (2,1,0,2,0,3), y : (1,1,1,0,0,1) cosine, correlation
1