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