Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distance is the INVERSE of similarity #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hobson
Copy link

@hobson hobson commented Aug 5, 2014

Naming the annotated field for the similarity score a "distance" is confusing and wrong. The more similar things are the closer they are, not the more distant they are. This is why similarity must be sorted in decreasing order (the minus sign in the order_by filter) for the best match to be at the start of the list. "Distance" is the inverse (or negative, or opposite) of "similarity".

naming the annotated field for the similarity score a "distance" is confusing and wrong. The more similar things are the closer they are, not the more distant they are (hence the minus sign in the order_by statement).  Distance is the inverse/negative/opposite of similarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant