Comment

Comment by genuinelydang

Then you would have to renormalize the vectors. You really really want to keep the range -1..1 because that is a special case where cosine similarity equals dot product equals Euclidean distance.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton