News for hackers. Stuff that matters.
Re:How does cosine similarity work? by kccqzy on Friday September 06, 2024 @08:57PM (#41470819)
Magnitude is a dimension. Any 2-dimensional vector can be explicitly transformed into the polar (r, theta) coordinate system where one of the dimensions is magnitude. Any 3-dimensional vector can be transformed into the spherical (r, theta, phi) coordinate where one of the dimensions is magnitude. This is high school mathematics. (Okay I concede that maybe the spherical coordinate system isn't exactly high school material, then just think about longitude, latitude, and distance from the center.)

There are no comments on this comment yet.