News for hackers. Stuff that matters.
Re:Show HN: Similarity = cosine(your_GitHub_stars, Karpathy)... by LudwigNagasena on Friday January 09, 2026 @08:40PM (#46561832)
Pearson correlation = cosine of the angle between centered random variables. Finite-variance centered random variables form a Hilbert space so it’s not a coincedence. Standard deviation is the length of the random variable as a vector in that space.

There are no comments on this comment yet.