K Means Clustering Algorithm | K Means Solved Numerical Example Euclidean Distance by Mahesh Huddar

Поділитися
Вставка
  • Опубліковано 21 січ 2023
  • 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

КОМЕНТАРІ • 360

  • @HITNUT
    @HITNUT Рік тому +169

    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

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +30

      Thanks for your words
      Glad that my videos help you to learn machine learning
      Please do like share and subscribe

    • @Logadharani
      @Logadharani Рік тому +36

      Okay so I believe Chatgpt didn't help you here. But indeed his lecture is crisp and awesome! 😂❤

    • @Wizard-dl9zo
      @Wizard-dl9zo Рік тому +3

      @@Logadharani thought same 😂😅

    • @nagakrishna459
      @nagakrishna459 Рік тому +2

      ​@@MaheshHuddarsir if 5 points are given what we have to select as distance values

    • @rewaj56
      @rewaj56 4 місяці тому +5

      Bro is down to his knees good lord

  • @RafaParkoureiro
    @RafaParkoureiro Рік тому +248

    I have exam in 3 hours this helped me a lot

  • @ASIFAlI-lq4rd
    @ASIFAlI-lq4rd Рік тому +19

    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.

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Welcome
      Do like share and subscribe

    • @ASIFAlI-lq4rd
      @ASIFAlI-lq4rd 11 місяців тому +3

      @@MaheshHuddar I got 8.5 cgpa total after studying this...

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому

      @@ASIFAlI-lq4rd do share the videos to your friends

    • @ASIFAlI-lq4rd
      @ASIFAlI-lq4rd 11 місяців тому

      @@MaheshHuddar ok sir....i will share this to my friend

  • @jananit7399
    @jananit7399 Рік тому +16

    Clear and great explanation. I understood the concept in 5 mins. Thank you for giving the clarity, sir. Hats off to you.

  • @095_shaniabalkhi9
    @095_shaniabalkhi9 Рік тому +26

    You're a life saver. Respect++ for your teaching style.

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +2

      Thank You
      Do like share and subscribe

  • @LeisurelyCooking
    @LeisurelyCooking 5 днів тому

    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!

    • @MaheshHuddar
      @MaheshHuddar  5 днів тому

      Welcome
      Do share with your friends

  • @MrLoser-ok2jx
    @MrLoser-ok2jx 8 місяців тому +5

    U explained more detailed than our clg professor.. thank u sir ❤

    • @MaheshHuddar
      @MaheshHuddar  8 місяців тому +2

      Welcome
      Do like share and subscribe

  • @dhruvchaturvedi9805
    @dhruvchaturvedi9805 Місяць тому +117

    i have an exam in 10 min 💀??

  • @liujw0able
    @liujw0able 8 місяців тому +1

    Crystal clear! Thanks for the great video!

    • @MaheshHuddar
      @MaheshHuddar  8 місяців тому

      Welcome
      Do like share and subscribe

  • @abdulhamidmuhammad9814
    @abdulhamidmuhammad9814 Рік тому +7

    Thank you for the good work, best ML teacher i ever listen to

  • @FullTimeDayTrader
    @FullTimeDayTrader 8 місяців тому

    Nice explanation!!! Need to implement this in SQL Server TSQL

  • @abuhojayfa1561
    @abuhojayfa1561 Рік тому +1

    Best explanation of this topic, I have ever seen. 👏👏👏

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Thank You
      Do like share and subscribe

  • @johnmosugu
    @johnmosugu 7 місяців тому

    Mahesh, you are such a life saver! Thanks for this

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Please do like share and subscribe

  • @XTRA.Football
    @XTRA.Football Рік тому +3

    You are the best ML teacher ever.

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Thank You
      Do like share and subscribe

  • @venkateshwarlupurumala6283
    @venkateshwarlupurumala6283 Рік тому

    Excellent Sir....with your explanation, all my doubts are cleared

  • @efesozmen8310
    @efesozmen8310 8 місяців тому +2

    This is the best video out there about K Means Clustering. I genuinly noted myself "to check Mahesh Huddar's K Means Clustering video in case of you forget". Thank you Mr. Huddar!

    • @MaheshHuddar
      @MaheshHuddar  8 місяців тому

      Welcome
      Do like share and subscribe

  • @MrCEO-jw1vm
    @MrCEO-jw1vm 14 днів тому

    Thank you so much for this great example.

    • @MaheshHuddar
      @MaheshHuddar  14 днів тому

      Welcome
      Do like share and subscribe

  • @CharanAkula-di3dn
    @CharanAkula-di3dn Місяць тому

    you killed it sir , you give me a very good clarity about k-means clustering through your video , thank you so much

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому

      Welcome
      Do like share and Subscribe

  • @akshyapani
    @akshyapani 2 місяці тому

    I have end sems in next 2 hours, this helped.

  • @s-_-r009
    @s-_-r009 5 місяців тому

    Loved your videos sir. These helped me in my data analytics exams. Thanks alot.

    • @MaheshHuddar
      @MaheshHuddar  5 місяців тому

      Welcome
      Do like share and subscribe

  • @MuhammadYasirGhaffar
    @MuhammadYasirGhaffar Місяць тому +1

    Always an Indian saving our semesters in Last hours.

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому

      Thank You
      Do like share and subscribe

  • @AWSFan
    @AWSFan 10 місяців тому +4

    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

  • @marymwabili9044
    @marymwabili9044 19 днів тому

    OMG! You are a life saver! Thank you so much.

    • @MaheshHuddar
      @MaheshHuddar  18 днів тому

      Welcome!
      Do like share and subscribe

  • @SinarJourney
    @SinarJourney 2 місяці тому

    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.

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Welcome
      Do like share and subscribe

  • @arpitasahoo5705
    @arpitasahoo5705 3 місяці тому +16

    I am in the exam hall. Helping a lot! 💀

    • @shush5878
      @shush5878 2 місяці тому +1

      commenting from inside the exam hall lmao.. respect

    • @bharathvemula8778
      @bharathvemula8778 2 місяці тому +1

      Is your college allowed mobile into the exam hall

  • @athira.t3723
    @athira.t3723 Рік тому

    Not only this class your all classes are wonderfull, easily understable thank you sir

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      You are most welcome
      Do like share and subscribe

  • @mohammedshabazhussain3597
    @mohammedshabazhussain3597 10 місяців тому +26

    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

  • @anthonygravier2055
    @anthonygravier2055 2 місяці тому

    Hey man, studying this for a final. Your video was amazing. Thank you for the simple explanation!

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Glad it was helpful!
      Do like share and subscribe

  • @tinaparker9974
    @tinaparker9974 Рік тому

    Thank you so much for the really clear explanation

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      You are welcome!
      Do like share and subscribe

  • @user-su8ws4xt9z
    @user-su8ws4xt9z 7 місяців тому

    Thanks alot sir,it is very easy to understand While you are
    teaching.

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Do like share and subscribe

  • @daniyalshah415
    @daniyalshah415 Рік тому +2

    I have ML final exam tomorrow And you taught this topic soo good

  • @adarshkolumula2996
    @adarshkolumula2996 10 місяців тому

    Good explanation.. I explained this to my friend but she still didn’t understand.. MG

  • @jyotibhushan5786
    @jyotibhushan5786 7 місяців тому

    I have seen so many videos but the way you have explained its amazing. Thankyou so much :)

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      please do like share and subscribe

  • @faizaabdulqayyum3886
    @faizaabdulqayyum3886 Рік тому

    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....😊

  • @HamidAli-ff2zn
    @HamidAli-ff2zn Рік тому +1

    best and clear explaination thank you sir

  • @oldschoolboy7749
    @oldschoolboy7749 Рік тому +4

    i have ML final exam on 14 feb, And you taught this topic soo good

  • @thaovannguyen3623
    @thaovannguyen3623 Рік тому

    best explanation, hats off to you!

  • @kalesha_pazil5283
    @kalesha_pazil5283 Рік тому

    Wow......what a man........ excellent explanation good job❤❤❤❤❤❤❤❤ thank you so muchhhhhhh❤❤❤❤❤❤❤❤❤❤❤❤❤

    • @MaheshHuddar
      @MaheshHuddar  Рік тому

      You're most welcome
      Do like share and subscribe

  • @user-sv1so4gq8s
    @user-sv1so4gq8s 4 місяці тому

    thank you sir. nice video.. i understood everything. keep it up.

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому

      Welcome
      Do like share and subscribe

  • @jameshowse300
    @jameshowse300 7 місяців тому +13

    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

  • @user-pm9hm5zc3u
    @user-pm9hm5zc3u Рік тому

    Clear and great explanation. clarity,

  • @kinza_ahmad
    @kinza_ahmad Місяць тому

    Best teacher. Love from Pakistan

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому +1

      Thank You
      Do like share and subscribe

  • @adeiskandar1349
    @adeiskandar1349 8 місяців тому

    Thank You very much. it explained clearly

    • @MaheshHuddar
      @MaheshHuddar  8 місяців тому

      Welcome
      Do like share and subscribe

  • @rizkihamdani120
    @rizkihamdani120 7 місяців тому +1

    My lectures are crap. Thank you for this. I have an exam in 2 hours, thank you so much❤

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Do like share and subscribe

  • @GregSom
    @GregSom Місяць тому

    Excelent material!!! Congrats!

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому

      Thank You
      Do like share and subscribe

  • @NeelPatel-qp9tt
    @NeelPatel-qp9tt Рік тому

    Hats off to your explanation👍

  • @amitzerikunthe7635
    @amitzerikunthe7635 Рік тому

    thank you sir , got understood everything

  • @laibamasood330
    @laibamasood330 9 місяців тому

    Thank you for the video, very helpful 🙌

    • @MaheshHuddar
      @MaheshHuddar  9 місяців тому

      Welcome
      Do like share and subscribe

  • @goliathjack4343
    @goliathjack4343 11 місяців тому

    This vid is really good and it's saved my report🎉

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому

      Thank You
      Do like share and subscribe

  • @harshit3229
    @harshit3229 7 місяців тому

    I hv exam in 2 hrs , helped a lot

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 4 місяці тому

    really, like the table. makes it very clear.

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому

      Thank You
      Do like share and subscribe

  • @luvkushsharma1586
    @luvkushsharma1586 Рік тому +1

    Best explanation sir.

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Thanks and welcome
      Do like share and subscribe

  • @liyanal-tahrawi5244
    @liyanal-tahrawi5244 2 місяці тому +2

    bro you saved me before my exam

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Welcome
      Do like share and subscribe

  • @anjalibarai5431
    @anjalibarai5431 Рік тому

    Thank you so much sir...Cristal clear

  • @Pbp12345
    @Pbp12345 9 місяців тому

    Sir, You are the the best. 🎉🎉

    • @MaheshHuddar
      @MaheshHuddar  9 місяців тому

      Thank You
      Do like share and subscribe

  • @projyoti7489
    @projyoti7489 Місяць тому

    Great teaching skills

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому

      Thank You
      Do like share and subscribe

  • @SumanKumari-cn3wo
    @SumanKumari-cn3wo 7 місяців тому

    very nice explaination sir.....thank you soo much

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Do like share and subscribe

  • @arnaudrobbens9215
    @arnaudrobbens9215 2 місяці тому

    so clear!! thanks!!

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Welcome
      Do like share and subscribe

  • @ALLINONE-yu9bu
    @ALLINONE-yu9bu 6 місяців тому +1

    superb teaching sir so nice

    • @MaheshHuddar
      @MaheshHuddar  6 місяців тому

      Thank You
      Please do like share and subscribe

  • @user-sl4vu2ym1d
    @user-sl4vu2ym1d Рік тому

    Splendid Explanation

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Thank You
      Do like share and subscribe

  • @darkgaming7559
    @darkgaming7559 11 місяців тому

    Nice explanation sir, thank you

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому

      Welcome
      Do like share and subscribe

  • @introvert_17
    @introvert_17 Рік тому

    Very helpful sir thanks a lot ..❤

    • @MaheshHuddar
      @MaheshHuddar  Рік тому

      Most welcome
      Do like share and subscribe

  • @dhanushvcse4056
    @dhanushvcse4056 Рік тому

    Keep teaching sir it is veryful usefull for as thankyou sir

    • @MaheshHuddar
      @MaheshHuddar  Рік тому +1

      Sure I will
      Do like share and subscribe

  • @hajerbetabessi3485
    @hajerbetabessi3485 2 місяці тому

    best explanation man !

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Thank you
      Do like share and subscribe

  • @rymfouzari792
    @rymfouzari792 2 місяці тому

    Thank you so much !!

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Welcome
      Do like share and subscribe

  • @jainabaafreen6502
    @jainabaafreen6502 Рік тому +1

    Your way of explanation with clarity is awesome sir

  • @phgowtham820
    @phgowtham820 2 місяці тому

    Thank you sir 😊

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Most welcome
      Do like share and subscribe

  • @morukurthianitha3751
    @morukurthianitha3751 Рік тому

    Thanks for good explanation 😇🤗

  • @amirem9744
    @amirem9744 4 місяці тому

    nice explanation! thanks

    • @MaheshHuddar
      @MaheshHuddar  4 місяці тому

      Welcome
      Do like share and subscribe

  • @ankitadey3267
    @ankitadey3267 3 місяці тому

    Thank u, it was very useful

    • @MaheshHuddar
      @MaheshHuddar  3 місяці тому

      You are welcome
      Do like share and subscribe

  • @nanditanikam1202
    @nanditanikam1202 Рік тому

    Excellent explanation

  • @adnanaftab7348
    @adnanaftab7348 Рік тому

    Thank you sir you are great respect from Pakistan

  • @luluc539
    @luluc539 6 місяців тому

    thanks Mahesh for your great explanation. Please if it is possible active the subtitles in english. You have students around the world :)

    • @MaheshHuddar
      @MaheshHuddar  6 місяців тому

      Ok
      Please do like share and subscribe

  • @HelloIndia110
    @HelloIndia110 7 місяців тому

    very helpful video itna mja aya ki 5 id se suscribe kiya

  • @GovindKumar-xj9yw
    @GovindKumar-xj9yw Рік тому

    simply the best

  • @pranavabhargavi-st6et
    @pranavabhargavi-st6et Рік тому

    Superb explanation

  • @satyaprakashpandit1936
    @satyaprakashpandit1936 9 місяців тому

    Simply wow! One suggestion, plz give some gap before ending video, lined-up videos are overlaying.

    • @MaheshHuddar
      @MaheshHuddar  9 місяців тому

      Sure
      Thank You for your suggestion
      Please do like share and subscribe

  • @crazygamers516
    @crazygamers516 2 місяці тому

    Thank you so much sir ,it’s clear explaintation , I have exam at 10:00 ,it’s very helpful to me ❤

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Welcome
      Do like share and subscribe

  • @usamahafeezofficial2651
    @usamahafeezofficial2651 7 місяців тому

    Thank You, Sir ♥

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому +1

      Welcome
      Do like share and subscribe

  • @anilkasindula920
    @anilkasindula920 11 місяців тому

    Thanks for the video

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому

      Welcome
      Do like share and subscribe

  • @user-yj3pj2ky8p
    @user-yj3pj2ky8p 7 місяців тому

    great.... thanks man

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Do like share and subscribe

  • @yuriosama7663
    @yuriosama7663 Місяць тому +2

    Thanks bro I scored 30/30 in my exam.

    • @MaheshHuddar
      @MaheshHuddar  Місяць тому +2

      Congratulations
      Do like share and subscribe

    • @joyjunction4817
      @joyjunction4817 29 днів тому +1

      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 ????

  • @fakharhashmi9903
    @fakharhashmi9903 4 місяці тому +7

    I am watching it while solving exam

  • @Supeyaan
    @Supeyaan 8 місяців тому

    Thank You!

    • @MaheshHuddar
      @MaheshHuddar  8 місяців тому

      Welcome
      Do like share and subscribe

  • @prasanthkumar6393
    @prasanthkumar6393 10 місяців тому

    ❤ excellent 👌

    • @MaheshHuddar
      @MaheshHuddar  10 місяців тому +1

      Do share with your friends

  • @sladewashington2709
    @sladewashington2709 Рік тому

    thanks a lot sir

  • @yejjalaprajwala
    @yejjalaprajwala 7 місяців тому

    Nice 👍 explanation sir TQ 🥰

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Welcome
      Do like share and subscribe

  • @nikitasinha8181
    @nikitasinha8181 Рік тому

    Thank you so much sir

  • @varshu8296
    @varshu8296 Рік тому

    thank you sir! you summarized my 2hr lecture in less than 9 minutes :D

  • @nagakumar7144
    @nagakumar7144 9 місяців тому

    Thank you !

    • @MaheshHuddar
      @MaheshHuddar  9 місяців тому

      Welcome
      Do like share and subscribe

  • @apurba1903
    @apurba1903 6 місяців тому

    Thanks Sir

    • @MaheshHuddar
      @MaheshHuddar  6 місяців тому

      Welcome
      Please do like share and subscribe

  • @jinkavenkateswarluvenkates7613
    @jinkavenkateswarluvenkates7613 2 місяці тому

    it is useful information

    • @MaheshHuddar
      @MaheshHuddar  2 місяці тому

      Thank You
      Do like share and subscribe

  • @BieAnimation
    @BieAnimation Рік тому

    Thank you so much

  • @sanidhyajain1828
    @sanidhyajain1828 Рік тому

    thank you!

  • @bhaiookabhai
    @bhaiookabhai 6 місяців тому

    sir one thing i want to ask what if we are given the value k=3 and solve by manhattan?

  • @gopikrishna4709
    @gopikrishna4709 7 місяців тому

    Good explanation

    • @MaheshHuddar
      @MaheshHuddar  7 місяців тому

      Thank You
      Do like share and subscribe

  • @sogonetolusola2629
    @sogonetolusola2629 Рік тому

    Nice and clear

  • @annucurious1362
    @annucurious1362 11 місяців тому

    thank you sir ❤

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому

      Welcome
      Do like share and subscribe

  • @harshanisamarakoon7468
    @harshanisamarakoon7468 11 місяців тому

    just wow...

    • @MaheshHuddar
      @MaheshHuddar  11 місяців тому +1

      Thank You
      Do like share and subscribe

  • @sfyuuip2516
    @sfyuuip2516 Рік тому

    thank you so much