|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Similarity | |
---|---|
de.aitools.aq.algebra.vector.functions |
Uses of Similarity in de.aitools.aq.algebra.vector.functions |
---|
Classes in de.aitools.aq.algebra.vector.functions that implement Similarity | |
---|---|
class |
CosineSimilarity
A Similarity measure for Vector s.The Cosine Similarity of two vectors is defined as the cosine of the angle between them. It is calculated as the dot product of the both vectors divided by the multiplied euclidean norms of both. The resulting similarity of a vector a and a vector b is between -1 (if a equals -b * k) and 1 (if a equals b * k), with k being a positive rational number (and thus not zero). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |