Cosine similarity

A measure of similarity between directions of two nonzero vectors.

Practical example

Used for ranking text embeddings.

AI glossary · Poiskom

All guides