Derive the mathematical relationship between cosine similarity and Eu- clidean distance when each data object has an L2 length of 1.

Here, we further explore the cosine and correlation measures.

Let x and y be two vectors where each vector has an L2 length of 1.

For such vectors, the variance is just n times the sum of its squared

attribute values and the correlation between the two vectors is their

dot product divided by n.



Computer Science & Information Technology

You might also like to view...

The purpose of a Business Impact Analysis (BIA) is to determine:

a. The impact of a disaster b. The extent of damage in a disaster c. Which business processes are the most critical d. Which processes depend on IT systems

Computer Science & Information Technology

Obtain a distribution of Linux and install it (you saw that one coming, right?).

What will be an ideal response?

Computer Science & Information Technology