cosine of the angle between 2 vectors. It is the magnitude normalized dot product of 2 vectors.
cosine(x1, x2) = (x1 . x2)/ |x1| |x2|
where, |x1| = sqrt(x1 . x1) is the magnitude of x1
Search
Jul 19, 20241 min read
cosine of the angle between 2 vectors. It is the magnitude normalized dot product of 2 vectors.
cosine(x1, x2) = (x1 . x2)/ |x1| |x2|
where, |x1| = sqrt(x1 . x1) is the magnitude of x1