Cosine similarity, cosine distance explained | Math, Statistics for data science, machine learning
Vložit
- čas přidán 28. 06. 2024
- Cosine similarity, cosine distance explained in a way that high school student can also understand it easily. If you have aspirations of becoming a data scientist, you must know these two concepts. I will explain cosine similarity using a real life simple example and then we will write code in python using sklearn library.
Code: github.com/codebasics/math-fo...
Math/Stats for Data science, ML playlist: • Mathematics, statistic...
Check our Math and Statistics course for Data Science here : codebasics.io/courses/math-an...
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
🌎 Website: www.codebasics.io/
🎥 Codebasics Hindi channel: / @codebasicshindi
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Instagram: / codebasicshub
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin (Personal): / dhavalsays
📝 Linkedin (Codebasics): / codebasics
❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.
Check our Math and Statistics course for Data Science here : codebasics.io/courses/math-and-statistics-for-data-science
I started to miss your tutorials .. thank God you are back.. I know you are a busy man 😊.. keep going
You make this topic understandable. Many thanks.
Great explanation, thanks!
You made it looks easy. Thank you.
thank you so much for this clear explanation!
Well explained! Thanks!
Please make videos on hypothesis test and it's parameter with theory and practical with real world use case i can understand theory wise but my mind can not accept it because i don't know how real world practical wise in data science field this use so i think your are the only one on earth who can explain this in much better way with real world practical use case.
Thank you sir for the clear explanation
You must explain the meaning of *cosine similarity negative* and how to interpret it
Thanks man great vid
Sir please continue data structure and algorithm in python series sir....
On top !
On top!!! Yes sir we need algorithm to understand data plszzzz!!
Very useful!
You have shifted to maths after 7 videos in this playlist. That's all the stats I need for data science? OR you are covering only for beginners? I am a beginner and I want to know if I need to know more than what you covered in your playlist. Thanks.
Very well explained.
Glad it was helpful!
Thanks a lot
very good video
is there any articles or journals that lead to theoretical of the cosine similarity and the cosine distance?
can you do pytorch implementation for ann.and fuzzy systems.please sir
Please keep using memes and cartoons to explain concepts in your videos. You are amazing.
When will videos will come on chi square, p test ??
can I say the negative value of cosine similarity is one variable move opposite of another variable for example if one variable increases then another variable decrease, so it has similarity but just in the opposite way?
Can cosine similarity be used for comparing financial transactions???
After watching your videos I am getting how important is 12 th maths
Excellent explanation!
The only part that was not clear for me is when the similarity is -1. Does it mean that when we are calculating the distance of vector with cos similarity -1, it will result 2?
Ah you explained it.
When we are talking about distance we are not concerned with the vector direction. So talking about distance an angle of 180° between vectors is like an angle of 0°. I think that's it.
Please add new videos to this playlist about chi square and other points
Yup will do
@@codebasics thanks I'm waiting for it
nice start🤣🤣
Sir please make a video on GitHub copilot as a threat to programmer's job
Yeah, lets talk about copilot
I dont think it is a thread to programmer's job. I will note down this topic and prepare something on it.
@@codebasics thank you sir
while importing sklearn , the error i got is : AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64' , how to solve this ?
Can anyone tell me Why cosine is used for similarity not sin?
Is cosine similarity and semantic similarity same?
Please make basic math videos.we are not able to understand
👍👍👍
how you put the documents, time 8:57?
“My baby got confused!” Lol
How to find similarity between two strings
you can use python SequenceMatcher module or python-Levenshtein. Check this: stackoverflow.com/questions/6690739/high-performance-fuzzy-string-comparison-in-python-use-levenshtein-or-difflib
stackoverflow.com/questions/17388213/find-the-similarity-metric-between-two-strings
Thanks for sharing
Its really very helpful
sir, please share presenations if you have no problem
Hey Punna to be honest I am spending too much time in making these presentations and they are proprietary content. In past I have seen people bluntlessly copy my content make tutorials and sell them for commercial gain without giving necessary credits hence I have decided to not share these. Hope you understand my situation.
@@codebasics Ok sir.
Thank you babies who helped me learning
4:17 :))))))
what is the difference between reinforcement learning and deep learning?
In deep learning we design our own Model using neural networks.
In reinforcement learning we train the machine or ai bots to accomplish some task in the similar way as we train a dog 🐕,
Basically it based on reward and punishment.
@@its_kumar wow bro!! that was a easy to understand tqsm
🥰🥰🥰
Next.. calculus.