Cosine Similarity
Input Data #statistics
Cosine Similarity is a measure of the similarity between two non-zero vectors of an inner product space. It is useful in determining just how similar two datasets are. Fundamentally it does not factor in the magnitude of the vectors; it only calculates the angular distance between them.
This calculator can be used to calculate the Cosine distance between:
- Two comma-separated vectors made up of numerals e.g. Vector A = { 0, 1, 2, 3, ... n } and Vector B = { 100, 110, 120, ... k } or,
NB: The vectors MUST have the same number of members.
NB: For Cosine Similarity using the "Bag of Words" Method use this calculator.