Skip to content

DistanceTo should be called SimilarityTo #3

Description

@pengowray

Hi,

I tried substituting the vector operations in Word2vec.Tools with those in MathNet.Numerics, and got some weird results. It seems the "distances" used by Word2vec.Tools should be called "similarities".

Cosine similarity:

similarity = 1 − distance

for similarities: 1 = similar, 0 = not similar

for distances: 0 = close, 1 = distant

Hope that makes sense.

For reference:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions