Cosine similarity

From RecSysWiki
Revision as of 11:02, 3 February 2012 by Zeno Gantner (talk | contribs) (Category: Similarity measure)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

External links