๐——๐—ถ๐˜€๐˜๐—ฎ๐—ป๐—ฐ๐—ฒ๐˜€ ๐—ฎ๐—ป๐—ฑ ๐—ฆ๐—ถ๐—บ๐—ถ๐—น๐—ฎ๐—ฟ๐—ถ๐˜๐˜† ๐—ถ๐—ป ๐— ๐—Ÿ

ML compares objects using vectors. You need to know if two objects are similar. You use three main tools.

Euclidean distance is a ruler.

Dot product tracks direction and size.

Cosine similarity tracks direction only.

Source: https://dev.to/samuel_akopyan_e902195a96/distances-and-similarity-in-ml-3ckh Optional learning community: https://apphp.gitbook.io/ai-for-php-developers