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

Machine learning is about comparison. You need to know if two objects are similar. You do this by turning data into vectors.

You use three tools to measure this.

Euclidean Distance

Dot Product

Cosine Similarity

These functions turn vectors into numbers. Your algorithm uses these numbers to make decisions.

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