News for hackers. Stuff that matters.
Re:How to Implement a Cosine Similarity Function in TypeScript by dvt on Tuesday March 11, 2025 @03:29AM (#43330042)
> behaves identically to euclidean distance

Tbh, I would argue that's also pretty surprising, as Euclidean distance is notoriously unintuitive[1] (and noisy) in higher dimensions. (I guess norming does help, so that's likely a good point.)

[1] https://bib.dbvis.de/uploadedFiles/155.pdf

There are no comments on this comment yet.