วันอังคารที่ 17 พฤศจิกายน พ.ศ. 2563

Cosine Similarity Vs Euclidean Distance



Imagine vectors as arrows starting from the origin.

  • Cosine similarity asks:
    “Do these arrows point in the same direction?”
  • Euclidean distance asks:
    “How far apart are the arrow tips?”