Consider the following three data vectors. D1: (5, 6, 7, 9),…
Consider the following three data vectors. D1: (5, 6, 7, 9), D2:(6, 9, 10, 14), and D3: (4, 6, 2, 3). (a) (3) What are the Manhattan distances for the data-point pairs: D1-D2: D1-D3: D2-D3: (b) (5) What are the cosine similarities for the data-point pairs: D1-D2: D1-D3: D2-D3: (c) (2) Which two pints are the closest as per the Manhattan distance? (d) (2) Which two points are the closest as per the Cosine similarity?