Skip to content

Cosine similarity

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

A measure of how closely two vectors point the same way, used to compare embeddings: the closer to 1, the closer the meaning. Its matching distance is what vector databases use to rank results.

In Arabic

تشابه جيب التمام

مقياس لمدى اتفاق متجهين في الاتجاه، تُقارن به التضمينات: كلما اقترب من 1 تقارب المعنى. والمسافة المقابلة له هي ما تستعمله قواعد بيانات المتجهات لترتيب النتائج.

Also known as: cosine distance

See also

All terms