Mathematics and probability · MLD-0233
Cosine similarity
The normalized dot product measuring directional alignment between vectors.
Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.
Original example
Compare document embeddings by angle.
Original caveat
It ignores vector magnitude and is undefined for zero vectors.
Context and aliases
Level: Foundational. Stages: Theory · Training · Evaluation.
Tags: ML · DL · SLM · LLM.
Aliases: None recorded.
Related concepts
Concepts linking here
Original references
- Deep Learning: online textbook ↗ · Consulted
- Mathematics for Machine Learning ↗ · Reference link
- Original reference URL ↗