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

Поделиться
HTML-код
  • Опубликовано: 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 Год назад +37

      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 Год назад +249

    I have exam in 3 hours this helped me a lot

  • @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.

  • @dhruvchaturvedi9805
    @dhruvchaturvedi9805 2 месяца назад +119

    i have an exam in 10 min 💀??

  • @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

  • @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

  • @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

  • @abdulhamidmuhammad9814
    @abdulhamidmuhammad9814 Год назад +7

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

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Welcome
      Do like share and subscribe

  • @abuhojayfa1561
    @abuhojayfa1561 Год назад +1

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

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Thank You
      Do like share and subscribe

  • @liujw0able
    @liujw0able 8 месяцев назад +1

    Crystal clear! Thanks for the great video!

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      Welcome
      Do like share and subscribe

  • @LeisurelyCooking
    @LeisurelyCooking 9 дней назад

    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  9 дней назад

      Welcome
      Do share with your friends

  • @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

  • @venkateshwarlupurumala6283
    @venkateshwarlupurumala6283 Год назад

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

  • @FullTimeDayTrader
    @FullTimeDayTrader 8 месяцев назад

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

  • @johnmosugu
    @johnmosugu 7 месяцев назад

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

    • @MaheshHuddar
      @MaheshHuddar  7 месяцев назад

      Welcome
      Please 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

  • @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

  • @XTRA.Football
    @XTRA.Football Год назад +3

    You are the best ML teacher ever.

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Thank You
      Do like share and subscribe

  • @CharanAkula-di3dn
    @CharanAkula-di3dn 2 месяца назад

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

    • @MaheshHuddar
      @MaheshHuddar  2 месяца назад

      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

  • @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

  • @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

  • @daniyalshah415
    @daniyalshah415 Год назад +2

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

  • @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

  • @akshyapani
    @akshyapani 2 месяца назад

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

  • @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

  • @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

  • @marymwabili9044
    @marymwabili9044 23 дня назад

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

    • @MaheshHuddar
      @MaheshHuddar  23 дня назад

      Welcome!
      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-ns8rn8fu3z
    @user-ns8rn8fu3z 11 месяцев назад

    Hi sir is k means and kneighborhood algorithms are same ?

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

  • @adarshkolumula2996
    @adarshkolumula2996 10 месяцев назад

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

  • @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-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

  • @thaovannguyen3623
    @thaovannguyen3623 Год назад

    best explanation, hats off to you!

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @HamidAli-ff2zn
    @HamidAli-ff2zn Год назад +1

    best and clear explaination thank you sir

  • @MrCEO-jw1vm
    @MrCEO-jw1vm 19 дней назад

    Thank you so much for this great example.

    • @MaheshHuddar
      @MaheshHuddar  18 дней назад

      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-sv1so4gq8s
    @user-sv1so4gq8s 4 месяца назад

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

    • @MaheshHuddar
      @MaheshHuddar  4 месяца назад

      Welcome
      Do like share and subscribe

  • @user-pm9hm5zc3u
    @user-pm9hm5zc3u Год назад

    Clear and great explanation. clarity,

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @oldschoolboy7749
    @oldschoolboy7749 Год назад +4

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

  • @laibamasood330
    @laibamasood330 9 месяцев назад

    Thank you for the video, very helpful 🙌

    • @MaheshHuddar
      @MaheshHuddar  9 месяцев назад

      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

  • @jainabaafreen6502
    @jainabaafreen6502 Год назад +1

    Your way of explanation with clarity is awesome sir

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @NeelPatel-qp9tt
    @NeelPatel-qp9tt Год назад

    Hats off to your explanation👍

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @amitzerikunthe7635
    @amitzerikunthe7635 Год назад

    thank you sir , got understood everything

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Welcome
      Do like share and subscribe

  • @adeiskandar1349
    @adeiskandar1349 8 месяцев назад

    Thank You very much. it explained clearly

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      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

  • @SumanKumari-cn3wo
    @SumanKumari-cn3wo 7 месяцев назад

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

    • @MaheshHuddar
      @MaheshHuddar  7 месяцев назад

      Welcome
      Do like share and subscribe

  • @bhaiookabhai
    @bhaiookabhai 6 месяцев назад

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

  • @GregSom
    @GregSom Месяц назад

    Excelent material!!! Congrats!

    • @MaheshHuddar
      @MaheshHuddar  Месяц назад

      Thank You
      Do like share and subscribe

  • @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

  • @anjalibarai5431
    @anjalibarai5431 Год назад

    Thank you so much sir...Cristal clear

  • @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

  • @darkgaming7559
    @darkgaming7559 11 месяцев назад

    Nice explanation sir, thank you

    • @MaheshHuddar
      @MaheshHuddar  11 месяцев назад

      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

  • @introvert_17
    @introvert_17 Год назад

    Very helpful sir thanks a lot ..❤

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Most welcome
      Do like share and subscribe

  • @Pbp12345
    @Pbp12345 9 месяцев назад

    Sir, You are the the best. 🎉🎉

    • @MaheshHuddar
      @MaheshHuddar  9 месяцев назад

      Thank You
      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

  • @harshit3229
    @harshit3229 7 месяцев назад

    I hv exam in 2 hrs , helped a lot

  • @yusraansari5935
    @yusraansari5935 7 месяцев назад +26

    I have my exams in 20 mins💀

  • @user-sl4vu2ym1d
    @user-sl4vu2ym1d Год назад

    Splendid Explanation

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Thank You
      Do like share and subscribe

  • @projyoti7489
    @projyoti7489 Месяц назад

    Great teaching skills

    • @MaheshHuddar
      @MaheshHuddar  Месяц назад

      Thank You
      Do like share and subscribe

  • @morukurthianitha3751
    @morukurthianitha3751 Год назад

    Thanks for good explanation 😇🤗

  • @ALLINONE-yu9bu
    @ALLINONE-yu9bu 6 месяцев назад +1

    superb teaching sir so nice

    • @MaheshHuddar
      @MaheshHuddar  6 месяцев назад

      Thank You
      Please do like share and subscribe

  • @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

  • @user-gp3mw4wc8y
    @user-gp3mw4wc8y Год назад

    In case of images can you use point location in floating points?? becoz in digital images pixel location is fixed.

  • @arnaudrobbens9215
    @arnaudrobbens9215 2 месяца назад

    so clear!! thanks!!

    • @MaheshHuddar
      @MaheshHuddar  2 месяца назад

      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

  • @amirem9744
    @amirem9744 5 месяцев назад

    nice explanation! thanks

    • @MaheshHuddar
      @MaheshHuddar  5 месяцев назад

      Welcome
      Do like share and subscribe

  • @pranavabhargavi-st6et
    @pranavabhargavi-st6et Год назад

    Superb explanation

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @adnanaftab7348
    @adnanaftab7348 Год назад

    Thank you sir you are great respect from Pakistan

  • @varshu8296
    @varshu8296 Год назад

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

    • @MaheshHuddar
      @MaheshHuddar  Год назад +1

      Welcome
      Do like share and subscribe

  • @hajerbetabessi3485
    @hajerbetabessi3485 2 месяца назад

    best explanation man !

    • @MaheshHuddar
      @MaheshHuddar  2 месяца назад

      Thank you
      Do like share and subscribe

  • @jeniven8630
    @jeniven8630 3 месяца назад

    Thanks, what do i do if I get same closest distance for 2 centroids, which one do I choose?

    • @MaheshHuddar
      @MaheshHuddar  3 месяца назад

      Randomly assign to one cluster and continue

  • @nanditanikam1202
    @nanditanikam1202 Год назад

    Excellent explanation

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      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

  • @HelloIndia110
    @HelloIndia110 7 месяцев назад

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

  • @kinza_ahmad
    @kinza_ahmad Месяц назад

    Best teacher. Love from Pakistan

    • @MaheshHuddar
      @MaheshHuddar  Месяц назад +1

      Thank You
      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

  • @fakharhashmi9903
    @fakharhashmi9903 4 месяца назад +7

    I am watching it while solving exam

  • @rymfouzari792
    @rymfouzari792 2 месяца назад

    Thank you so much !!

    • @MaheshHuddar
      @MaheshHuddar  2 месяца назад

      Welcome
      Do like share and subscribe

  • @GovindKumar-xj9yw
    @GovindKumar-xj9yw Год назад

    simply the best

    • @MaheshHuddar
      @MaheshHuddar  Год назад

      Thank You
      Do like share and subscribe

  • @phgowtham820
    @phgowtham820 2 месяца назад

    Thank you sir 😊

    • @MaheshHuddar
      @MaheshHuddar  2 месяца назад

      Most welcome
      Do like share and subscribe

  • @yejjalaprajwala
    @yejjalaprajwala 7 месяцев назад

    Nice 👍 explanation sir TQ 🥰

    • @MaheshHuddar
      @MaheshHuddar  7 месяцев назад

      Welcome
      Do like share and subscribe

  • @mdmohithasan1838
    @mdmohithasan1838 7 месяцев назад

    Any video with more than 3 columns?

  • @isatayoemmanuel1108
    @isatayoemmanuel1108 Год назад +2

    What if we have the same value for the two centroids, which of them are we going to select

  • @nithishkumarv4100
    @nithishkumarv4100 Год назад

    Finallyy i found it❤️‍🔥!! Thank you very much sir

  • @anilkasindula920
    @anilkasindula920 Год назад

    Thanks for the video

  • @adhishthatrisingh8057
    @adhishthatrisingh8057 Месяц назад +6

    Exams in two hours 😂😂

    • @MaheshHuddar
      @MaheshHuddar  Месяц назад +2

      All the very best
      Do like share and subscribe

  • @user-yj3pj2ky8p
    @user-yj3pj2ky8p 8 месяцев назад

    great.... thanks man

    • @MaheshHuddar
      @MaheshHuddar  8 месяцев назад

      Welcome
      Do like share and subscribe

  • @ManojManu-gc7jd
    @ManojManu-gc7jd 11 месяцев назад +3

    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

  • @usamahafeezofficial2651
    @usamahafeezofficial2651 7 месяцев назад

    Thank You, Sir ♥

    • @MaheshHuddar
      @MaheshHuddar  7 месяцев назад +1

      Welcome
      Do like share and subscribe

  • @prasanthkumar6393
    @prasanthkumar6393 10 месяцев назад

    ❤ excellent 👌

    • @MaheshHuddar
      @MaheshHuddar  10 месяцев назад +1

      Do share with your friends

  • @drrbalasubramanianmsu1593
    @drrbalasubramanianmsu1593 Год назад

    Very Nice Explanation.. Thanks...

  • @sladewashington2709
    @sladewashington2709 Год назад

    thanks a lot sir

  • @Supeyaan
    @Supeyaan 9 месяцев назад

    Thank You!

    • @MaheshHuddar
      @MaheshHuddar  9 месяцев назад

      Welcome
      Do like share and subscribe

  • @nikitasinha8181
    @nikitasinha8181 Год назад

    Thank you so much sir

  • @urstrulypradeep304
    @urstrulypradeep304 7 месяцев назад

    Is it our choice to use euclidian distance or manhattan distance if it was not mentioned in qsn??