Skip to content

distance is the INVERSE of similarity#12

Open
hobson wants to merge 1 commit intojleivaizq:masterfrom
hobson:distance
Open

distance is the INVERSE of similarity#12
hobson wants to merge 1 commit intojleivaizq:masterfrom
hobson:distance

Conversation

@hobson
Copy link
Copy Markdown

@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