Skip to content

Glossary: Computer Vision Beyond the Basics

Cosine similarity

A measure of how alike two vectors are, from -1 to 1: the dot product after scaling both to length 1. CLIP uses it to compare a photo's embedding with each prompt's embedding.

Where the book teaches it

Related terms

EmbeddingCLIP