BROWSER TOOLS
Playground.
Interactive tools and ML experiments. Everything runs in your browser.
EXPERIMENT 01
How similar are these vectors?
Cosine similarity compares directions. Try changing the numbers and see what happens.
Cosine similarity0.9926
−1 · Opposite0 · Unrelated1 · Aligned
What’s happening here?
We divide the dot product of the vectors by the product of their lengths: cos θ = (a · b) / (‖a‖ ‖b‖). A score of 1 means the same direction, 0 means perpendicular, and −1 means opposite directions. Similarity of real-world meaning depends on how a model creates the vectors.