Day 35 cosine similarity
Check out our live web application for this program - https://newdaynewlearning.netlify.app/
[!NOTE] There is a game waiting for you today, the best/first answer can win an exciting giftđ
- Click on the link : https://www.nytimes.com/games/wordle/index.html
- You will get a 6 chance to guess the 5-letter word correctly
More about me:
I am just a Colleague of yourâ s, Learning and exploring how Math, Business, and Technology can help us to make better decisions in the field of data science.
- Check out my Second brain:Â https://medium.com/@ravikumar10593/
- Check out my Portfolio : Link
Topic : Cosine Similarity
- When 2 phrases has nothing in common then Cosine Similarity score is 0 (cos 90 = 0)
- When 2 phases are exactly same then Cosine Similarity score is 1 (Cos 0 = 1)
- When there are some overlap between the 2 phrases then Cosine Similarity score is between 0 and 1 (Cos 0 - Cos 90)
Example :Â
We compute the dot product of the occurrence vectors, and divide by the product of their magnitudes
- Numerator is the dot product of the two vectors.
- Denominator are the magnitudes of each vector.
Article Source :
- Cosine similarity
- Understanding Vector Similarity for Machine Learning
- Cosine Similarity, Clearly Explained!!!
TL;DRÂ :
Cosine similarity is a measure of the angle between two vectors in a multi-dimensional space. It determines how similar two vectors are in terms of their direction, ignoring their magnitude or length. The closer the angle is to 0 degrees (or 0 radians), the more similar the vectors are, and the similarity is measured by the cosine of that angle.Â