K Means Clustering Algorithm | K Means Solved Numerical Example Euclidean Distance by Mahesh Huddar
HTML-код
- Опубликовано: 1 окт 2024
- K Means Clustering Algorithm | K Means Solved Numerical Example | Euclidean Distance by Mahesh Huddar
Suppose that the data mining task is to cluster points into three clusters, where the points are
A1(2, 10), A2(2, 5), A3(8, 4), B1(5, 8), B2(7, 5), B3(6, 4), C1(1, 2), C2(4, 9).
The distance function is Euclidean distance.
Suppose initially we assign A1, B1, and C1 as the center of each cluster, respectively.
The following concepts are discussed:
______________________________
How to use K Means Clustering Algorithm,
K Means Clustering Solved Numerical Example,
K Means Clustering Solved Example,
K means clustering Euclidean Distance
********************************
1. Blog / Website: www.vtupulse.com/
2. Like Facebook Page: / vtupulse
3. Follow us on Instagram: / vtupulse
4. Like, Share, Subscribe, and Don't forget to press the bell ICON for regular updates
i have an exam in 10 min 💀??
Did u pass 😂
@@Money-Mindset-Masteryabhi tak result nhi aaya hoga😂😅
Us bhai
Me rn
Us bro😢
I have my exams in 20 mins💀
💀😂
Still bro manages to comment 😂
Same
I have exam in 3 hours this helped me a lot
Do like share and subscribe
Same
And having 3 hrs in exam u are commenting on channel😂
I have exam in one hour😢
@@appleuser1882 all the best buddy
Exams in two hours 😂😂
All the very best
Do like share and subscribe
Sir, In new centroid (second iteration) calculation 3rd column both data points as 1.5 and 1.5 but the second one has to be 3.5
But calculated value are correct
Dear Mahesh,
I hope this message finds you well. I wanted to take a moment to express my deepest appreciation for all the knowledge and guidance you have provided me in learning the K-means algorithm. I cannot emphasize enough how much I owe to you for opening my eyes to this fascinating topic.
Your passion for the subject and your teaching skills are truly unparalleled. Your ability to break down complex concepts and explain them in a way that is accessible to anyone is nothing short of amazing. Your dedication to helping me understand the nuances of the algorithm and its various applications has been truly inspiring.
The impact of your teaching on my understanding of machine learning and data analysis cannot be overstated. You have not only taught me the K-means algorithm, but also instilled in me a deeper appreciation for the art and science of data analysis.
I am grateful for the time and effort you invested in me, and I will always treasure the knowledge and skills you have imparted to me. Your influence has truly been transformative, and I cannot thank you enough for all that you have done for me.
With deepest gratitude,
HITNUT
Thanks for your words
Glad that my videos help you to learn machine learning
Please do like share and subscribe
Okay so I believe Chatgpt didn't help you here. But indeed his lecture is crisp and awesome! 😂❤
@@Logadharani thought same 😂😅
@@MaheshHuddarsir if 5 points are given what we have to select as distance values
Bro is down to his knees good lord
I am in the exam hall. Helping a lot! 💀
commenting from inside the exam hall lmao.. respect
Is your college allowed mobile into the exam hall
good video. I think at 5:32 you made a typo writing down the third centroid 1.5, 3.5 but you wrote 1.5, 1.5 in the table. the values are still correct though
LOL
LOL
Sirrr thank you so much this video help me a lot
U explained more detailed than our clg professor.. thank u sir ❤
Welcome
Do like share and subscribe
I watched 30 minutes video on same topic but understand nothing but here i understood same topic in just 8 minutes....hats off to you sir....i know you worked very much for this 8 minutes video..i cant give money to you but can give tons of appreciation.
Welcome
Do like share and subscribe
@@MaheshHuddar I got 8.5 cgpa total after studying this...
@@ASIFAlI-lq4rd do share the videos to your friends
@@MaheshHuddar ok sir....i will share this to my friend
But how will I do so much calculation that also across 4 iterations?
In order to get good marks in exam
I am watching it while solving exam
Hi Mahesh,
Could you also please explaiin about the WCSS, that the algorithm actually uses to find the lease value of K, that optimizes the clustering of the dataset in question.
Also, Could you please explain about the cluster validation
You're a life saver. Respect++ for your teaching style.
Thank You
Do like share and subscribe
Thanks bro I scored 30/30 in my exam.
Congratulations
Do like share and subscribe
Can we also do by assigning random points to cluster and then calculate dist of next point from each cluster put current point in the cluster with minimum dist and update that cluster is this method correct ????
Thank you for the good work, best ML teacher i ever listen to
Welcome
Do like share and subscribe
I am seeing after exam 😂
Oh
How was your exam...?
Clear and great explanation. I understood the concept in 5 mins. Thank you for giving the clarity, sir. Hats off to you.
Welcome
Do like share and subscribe
same
This was the eaxct kinda video I was searching for that clearly explains how to calculate,re-calculate the Centroid. Thanks so much! Liked and subscribed!
Welcome
Do share with your friends
i have ML final exam on 14 feb, And you taught this topic soo good
Can you share the question paper please
@@anoushkaamit7819 i m from Pakistan, and it was my univ exam, so if yoy still want question paper, let me know
did u pass
@@vatsaltripathi2024 yess
Thank you very much. I really loved that you taken this example from the book called Data Mining Concepts and Techniques from the Forth Edition, which really helped me to solve the exercises found in this book.
Welcome
Do like share and subscribe
Always an Indian saving our semesters in Last hours.
Thank You
Do like share and subscribe
Easy nd good explanation sir ❤
Thank You
Do like share and subscribe
My lectures are crap. Thank you for this. I have an exam in 2 hours, thank you so much❤
Welcome
Do like share and subscribe
how many iterations performed here
Utill the clusters converge
That no data points move from one cluster to other
I have an exam tomorrow morning 😂
Thanks for the video 😊
bro you saved me before my exam
Welcome
Do like share and subscribe
What if we have the same value for the two centroids, which of them are we going to select
Bhai tera hi reply ni diya hua h?😅
Mtlb ni pata use
If they did not give the exact correct centroids in the exam we will be die🤣
They will give
dp me jo pic hai usme aap to bht sexy lag rhyen hain lekn aapke pocket me kya hai shann bhai ka sawal hai ali bhai bol rhyen hain adhar card hai hmbol rhyen hain ki passbook hai .
Thank you very much ❤. Very clear explanation and presentation.
nice and clean
some youtubers re calculate centroid after every insertion of row into cluster.
No Idea
Please share the video link
I will check and let you know
upto which iteration we have to repeat the step again and again ( finding new centriods) ?
Utill the data points don't move from one cluster to other
best and clear explaination thank you sir
Welcome
Do like share and subscribe
Thank you for ur teaching sir
How to do python coding for the same dataset sir
Welcome
Do like share and subscribe
I will upload coding video soon
@@MaheshHuddar ok sir
this video helped me to understand better in action. thank you.
superb teaching sir so nice
Thank You
Please do like share and subscribe
Any video with more than 3 columns?
sir one thing i want to ask what if we are given the value k=3 and solve by manhattan?
You are the best ML teacher ever.
Thank You
Do like share and subscribe
How the cluster is Assigned After finding distance
what's the concept of calculate initial centroids A1(2,10) , B1(5,8) ,C1(1,2)
If not given in problem definition
Select initial centroids randomly
arun sir < mahesh huddar
such a great explanation sir . Thanks alot
Is the initial centroids given in the question?
Yes
In the 2nd cluster we 1.5 and 3.5 then why we should write 1.5 and 1.5 sir can u tell once
I have a question in a prev video you used different formula to calculate distance ...
Which video
Can you please share the link
@@MaheshHuddar I guess it was one dimensional that's why the formula was different
Ok fine
Hey man, studying this for a final. Your video was amazing. Thank you for the simple explanation!
Glad it was helpful!
Do like share and subscribe
thank you sir. nice video.. i understood everything. keep it up.
Welcome
Do like share and subscribe
Thank you so much sir ,it’s clear explaintation , I have exam at 10:00 ,it’s very helpful to me ❤
Welcome
Do like share and subscribe
Good explanation.. I explained this to my friend but she still didn’t understand.. MG
Simply wow! One suggestion, plz give some gap before ending video, lined-up videos are overlaying.
Sure
Thank You for your suggestion
Please do like share and subscribe
I am definitely not going to spare 2 hours out of 3 hours just for this sum!
The choice is left to you to attend or not to attend the question in exam, but
If you practice you can solve in maximum 10 minutes
Calculators are allowed in data mining exam
Sure Sir, I will practice. Thank you
Thank you sir
Welcome
Do like share and subscribe
Thanks, what do i do if I get same closest distance for 2 centroids, which one do I choose?
Randomly assign to one cluster and continue
if centroids are not given then how many centroid to choose?
If initial centroids are not given, you ca choose randomly any data points as centroids or any points
thanks Mahesh for your great explanation. Please if it is possible active the subtitles in english. You have students around the world :)
Ok
Please do like share and subscribe
Crystal clear! Thanks for the great video!
Welcome
Do like share and subscribe
OMG! You are a life saver! Thank you so much.
Welcome!
Do like share and subscribe
Thank you so much for this great example.
Welcome
Do like share and subscribe
Is it our choice to use euclidian distance or manhattan distance if it was not mentioned in qsn??
Yes
How to take centroids based on what sir as soon as possible give me reply
Initial centroids will be given
If not given as a part of problem definition you can choose any points as initial centroids
In case of images can you use point location in floating points?? becoz in digital images pixel location is fixed.
Yes
very nice explaination sir.....thank you soo much
Welcome
Do like share and subscribe
greetings from Turkey❤🇹🇷🇹🇷
Thank You
Do like share and subscribe
Thank You very much. it explained clearly
Welcome
Do like share and subscribe
Nice explanation!!! Need to implement this in SQL Server TSQL
but how will you know when to stop forming new clusters?
Either it will be given as a part of problrm definition
Or
Repeat Until there is no movement of data points from one cluster to other
whats the criteria for selecting the number of clusters
Follow this video:
ruclips.net/video/wW1tgWtkj4I/видео.html
you killed it sir , you give me a very good clarity about k-means clustering through your video , thank you so much
Welcome
Do like share and Subscribe
very helpful video itna mja aya ki 5 id se suscribe kiya
Thank You
Thank you sir you are great respect from Pakistan
Welcome
Do like share and subscribe
Keep teaching sir it is veryful usefull for as thankyou sir
Sure I will
Do like share and subscribe
Sir good teaching,I have a doubt. In exam can we assume initially as three centroids?
In exam they will give Number of cluster
If not given them you can assume
In which university you are studying..?
sir u r god sir thank u sir u r really god sir
Welcome
Do like share and subscribe
I hv exam in 2 hrs , helped a lot
Loved your videos sir. These helped me in my data analytics exams. Thanks alot.
Welcome
Do like share and subscribe
Thanks alot sir,it is very easy to understand While you are
teaching.
Welcome
Do like share and subscribe
I have end sems in next 2 hours, this helped.
Wow......what a man........ excellent explanation good job❤❤❤❤❤❤❤❤ thank you so muchhhhhhh❤❤❤❤❤❤❤❤❤❤❤❤❤
You're most welcome
Do like share and subscribe
I have exam in 10 mins
Same
@@kushal6661i have in 5 min
Best teacher. Love from Pakistan
Thank You
Do like share and subscribe
Hi sir is k means and kneighborhood algorithms are same ?
Best explanation of this topic, I have ever seen. 👏👏👏
Thank You
Do like share and subscribe
Thankyou for understanding the example its apreciative presentation but still don't know about exact defination although i come to know this mathematical example by formula....😊
Welcome
Do like share and subscribe
🦖#THANKYOU
Welcome
Do like share and subscribe
Thanks Sir
Welcome
Please do like share and subscribe
Thank you sir 😊
Most welcome
Do like share and subscribe
thank you
Welcome
Do like share and subscribe
Best explanation sir.
Thanks and welcome
Do like share and subscribe
Thanks
Welcome
Do like share and subscribe
This vid is really good and it's saved my report🎉
Thank You
Do like share and subscribe
how many times should i do depending on k??here k is 3 so 3 times??
No,
Untill the data points get converged
That is till no data point move from one cluster to other
Excelent material!!! Congrats!
Thank You
Do like share and subscribe
Thanks for good explanation 😇🤗
Welcome
Do like share and subscribe
really, like the table. makes it very clear.
Thank You
Do like share and subscribe
Excellent Sir....with your explanation, all my doubts are cleared
Welcome
Do like share and subscribe
Thank you so much sir...Cristal clear
Welcome
Do like share and subscribe