▲ | gbacon 5 days ago | |
Tend to avoid Euclidean distance. | ||
▲ | crystal_revenge 5 days ago | parent [-] | |
When the vectors are normalized to unit length cosine similarity and Euclidean distance are equivalent. This an optimization that many vector dbs use in retrieval since it is typically much faster to compute Euclidean distance rather than cosine. |