Cosine similarity
Revision as of 11:02, 3 February 2012 by Zeno Gantner (talk | contribs) (Category: Similarity measure)
The cosine similarity measures the similarity between two vectors by the cosine of the angle between them. In recommender systems, the cosine similarity is often used in kNN-based methods to determine the neighborhood of a user or item, and as a weight to compute predictions using those neighbors.