Skip to content
AImpact
IT EN
Infrastructure Intermediate Also known as: Similarità coseno

Cosine similarity

A similarity measure between two vectors based on the cosine of the angle between them: ranges from -1 (opposite) to 1 (identical), independent of their length.

ShareLinkedInX

In practice

It is the most common metric for comparing text embeddings because it ignores magnitude and looks only at semantic direction. Common alternatives: dot product (faster if vectors are normalized) and Euclidean distance.

Related terms

Seen in the wild

0 entries mentioning it

No archive entry mentions it explicitly. Appears in broader contexts.

← All terms