Files
Obsidian-Vault/AI Linear Algebra/Cosine Similarity.md

186 B
Raw Blame History

The cosine similarity is a way to measure the similarity of Vectors. It is defined as: cos(𝐱,𝐲)=\Biggl \langle\frac{𝐱}{‖𝐱‖},\frac{𝐲}{‖𝐲‖} \Biggr \rangle