Skip to content

Comment on Which vector similarity metric should I use?

Comments

Even ignoring vector magnitudes, wouldn't cosine distance as a measure of similarity only make sense if you're working with a convex set? That seems like it's far from a guarantee working in a high-dimensional space.

Yes, cosine distance works best in convex or normalized sets. Thinking about adding this caveat. Thanks for the question.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.