Skip to content

Is the L2 distance score in vector search an inverted score? #1261

Answered by westonpace
yy0vnne asked this question in Q&A
Discussion options

You must be logged in to vote

The L2 score is not inverted.

The cosine score is "cosine distance" and not "cosine similarity".

Cosine distance is defined as 1 - cosine_similarity (cosine distance is inverted cosine similarity).

In all cases a smaller _distance means more similar.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yy0vnne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants