VectorSpaceMapExtensions extension
Extensions on Map<String, num>, used for working with vector-space models.
- on
Methods
-
cosineSimilarity(
Map< String, num> other) → double -
Returns the
cosine similarity
between this vector andother
.
Extensions on Map<String, num>, used for working with vector-space models.
cosine similarity
between this vector and other
.