Cosine Similarity
Domain: Math & Logic for AI
🎯 Motivation
Measures the angle between two vectors, ignoring their length. Great for comparing meaning.
📋 Concrete Example
Vectors for king and queen have a small angle (high cosine similarity, about 0.7). King and banana have a large angle.
🔗 Analogy
Like comparing the direction two people are walking - same direction means similar, regardless of speed.