K Means Clustering Algorithm | K Means Example in Python | Machine Learning Algorithms | Edureka

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 168

  • @edurekaIN
    @edurekaIN  6 лет назад +14

    Got a question on the topic? Please share it in the comment section below and our experts will answer it for you. For Edureka Python Machine Learning Course curriculum, Visit our Website: hbit.ly/2OpzQWw

  • @niveditha-7555
    @niveditha-7555 3 года назад +17

    Indians always comeup with top notch explanations.

  • @ilovenatureiloveculture5776
    @ilovenatureiloveculture5776 4 года назад +4

    Thank you! I have been studied in a business intelligence program for two months. I have a assignment on SPSS k means cluster assignment. To understand the topic better, I want to watch a video first to get some general idea. It is so great that I can find this video and all the other videos in your channel. Although I am new in BI and data science, I have decided that I will do modeling and AI in future. All of your videos are so great! They can help me to build a solid foundation in modeling and AI for my future carrier!

  • @TheSubhadipMondal
    @TheSubhadipMondal 5 лет назад +2

    Thank you @AtulSir #Edureka ... My best free learning RUclips channel.

  • @pravalikatirunagari3632
    @pravalikatirunagari3632 6 лет назад +13

    hey the video is good..!! would like to know how to implement it for custom data. How do we prepare the graph for the custom dataset and perform clustering?

  • @chandrajyothibojjapu2409
    @chandrajyothibojjapu2409 2 года назад +1

    Thank you so much sir

  • @arturmostowiak9427
    @arturmostowiak9427 3 года назад

    So far the best explanation of this issue

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

    Thank you! This is so helpful, esp the coding bit!

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

      You're welcome 😊 Glad it was helpful!!

  • @pawankatwe8985
    @pawankatwe8985 3 года назад +2

    Thanks that was amazing explanation

  • @nasiksami2351
    @nasiksami2351 4 года назад +1

    Comprehensive and to the point explanation. Kudos!

  • @fujiwaratakumi3250
    @fujiwaratakumi3250 5 лет назад +4

    Thanks for the lesson, you explained it better than my univ's professor

    • @edurekaIN
      @edurekaIN  5 лет назад +1

      Thank you for appreciating our efforts. Do subscribe to our channel and stay connected with us. Cheers :)

  • @JonyWalkerAMV
    @JonyWalkerAMV 5 лет назад +4

    Great video, gonna share this! I also would like the code and data, please?

  • @shampymansha4906
    @shampymansha4906 4 года назад +1

    Very nice and easy to understand explanation. Thanks

  • @ashwinishewale7451
    @ashwinishewale7451 5 лет назад +3

    Very very helpful.... Thank u sir...

  • @nishasataki
    @nishasataki 3 года назад +1

    Easily understandable...

    • @edurekaIN
      @edurekaIN  3 года назад +1

      Thanks for the compliment Nisha . We are glad, our video helped you.Stay tuned with us on this channel for future updates.

  • @luishumbertoninoalvarez2287
    @luishumbertoninoalvarez2287 5 лет назад +5

    Thanks, great explanation!!!

  • @anshukumari6616
    @anshukumari6616 4 года назад +1

    Great explanation!
    Thank you very much!

  • @harshavardhana80
    @harshavardhana80 4 года назад +1

    Awesome 👌 I love 💘 this

  • @asthasona8803
    @asthasona8803 2 года назад +1

    Thank you 😊

  • @ranhill4315
    @ranhill4315 2 года назад +1

    Thanks for a very good pictorial explanation! Straight to the point and clear!
    And immense respect for the guy who developed this algorithm.

    • @edurekaIN
      @edurekaIN  2 года назад

      We are super happy that Edureka is helping you learn better. Your support means a lot to us and it motivated us to create even better learning content and courses experience for you . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @yashvishnoi4720
    @yashvishnoi4720 4 года назад +4

    Everything was touched clearly and it was well mentioned through out the session.

  • @greentechkey
    @greentechkey 4 года назад

    Great Explanation of K-means.

  • @neekhilprasad4717
    @neekhilprasad4717 2 года назад +1

    I love the way he says 'alright' in his lessons ❣

  • @blz1rorudon
    @blz1rorudon 5 лет назад +7

    Brilliant! Amazing explanation! Keep it up, man!

  • @abdulrubbinmohsin6111
    @abdulrubbinmohsin6111 5 лет назад +2

    thank you explanation is awesome .

  • @somashekharreadsforyou2064
    @somashekharreadsforyou2064 3 года назад

    Great Video.....

  • @ethan612
    @ethan612 4 года назад +1

    Thank you! Great tutorial!!!

  • @nag7432
    @nag7432 5 лет назад +1

    nice one! best explanation so far

  • @balavkrish
    @balavkrish 4 года назад +1

    Good lecture

  • @srinunalabolu6830
    @srinunalabolu6830 4 года назад +2

    Ur doing a great job for u brother. All my well wishes to u. Plz post gd videos of data science

  • @soumodeepsen3448
    @soumodeepsen3448 2 года назад +1

    why that * is used before centroids in the for loop in the initialization part?

  • @pAfzalTariq
    @pAfzalTariq 6 лет назад +1

    got it. thanks

  • @seethasuri
    @seethasuri 5 лет назад

    Very nice session.. very well explained

  • @arriyantoarriy47
    @arriyantoarriy47 3 года назад

    thankyou so muchhhhhh

  • @38-shivkumarpandit13
    @38-shivkumarpandit13 2 года назад

    the content is superb ...... can you please share the ppt

    • @edurekaIN
      @edurekaIN  2 года назад

      Good to know your learning with edureka :) please share your mail id to share the data sheet! We'll Update you soon !

  • @samithaduthika2444
    @samithaduthika2444 5 лет назад +1

    thank you

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

    It's funny how most RUclips channels teach way better than people from thr most prestigious institutions

  • @poojamishra7682
    @poojamishra7682 3 года назад +1

    Wonderful session

  • @FarukShaikh12
    @FarukShaikh12 2 года назад +1

    I dont understand about the step 5, why are you calculating the mean ? can you please suggest :)

  • @rishabhtyagi9037
    @rishabhtyagi9037 3 года назад

    Simple and easy explanation. Can you please share the code. Thank You

    • @edurekaIN
      @edurekaIN  3 года назад

      Good to know our contents and videos are helping you learn better . We are glad to have you with us ! Please share your mail id to send the data sheets to help you learn better :) Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @rwagataraka
    @rwagataraka 5 лет назад

    Edureka is doing great and things get best materialized while doing well chosen industry-based assignments given in its courses!

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

    Please make an end to end projects of all algorithm in data science

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

      Thanks for showing interest in Edureka kindly visit the channel for more videos our content creators are eagerly waiting for your suggestion to make new videos on your interest :) DO subscribe for the video update

  • @shubhamagarwal5566
    @shubhamagarwal5566 5 лет назад +7

    Great work! You are doing a wonderful job, please continue uploading such brilliant videos :)

  • @pritomdas6215
    @pritomdas6215 5 лет назад

    good visualization

  • @shivangimishra9723
    @shivangimishra9723 4 года назад

    pls share the link of jupyter/colab notebook also.

  • @pravdexter
    @pravdexter 4 года назад

    Good explanation! please share the code

    • @edurekaIN
      @edurekaIN  4 года назад

      Thanks for the compliment! Please share your email id with us (it will not be published). We will forward the source code to your email address.

  • @pranjalgupta9427
    @pranjalgupta9427 4 года назад +1

    What is the difference between k nearest neighbours and k means clustering

    • @edurekaIN
      @edurekaIN  4 года назад +1

      K-NN is Supervised machine learning while K-means is unsupervised machine learning. K-NN is a classification or regression machine learning algorithm while K-means is a clustering machine learning algorithm. Hope that helps!

  • @SwapnilPatil-db6wd
    @SwapnilPatil-db6wd 5 лет назад

    gor clear with the actual concept but still i have problems regarding code

  • @pramodkumargupta1824
    @pramodkumargupta1824 6 лет назад

    Nice video and content.

  • @renugas3162
    @renugas3162 2 года назад +1

    How to find accuracy of this algorithm

  • @ankitmahna6296
    @ankitmahna6296 5 лет назад +6

    can i get the codes?

  • @programmersworld4464
    @programmersworld4464 5 лет назад

    It was a enthusiastic till the end to watch the video. Can i have the source code of it?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Hi Harish! Thanks for the compliment. Please share your email id with us (it will not be published). We will forward you the source code to your email address.

  • @ΦωτεινήκαιΑλίκηΡόμπε

    Very informative video as always! I was wondering whether you have the same but with exponential support vector machines instead? Thanks a lot!!!

    • @edurekaIN
      @edurekaIN  2 года назад

      Keep watching :) We are glad to be a part of your learning journey. Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @tapanjeetroy8266
    @tapanjeetroy8266 5 лет назад

    Thanks sir

  • @mohammedmustapha7932
    @mohammedmustapha7932 5 лет назад

    Thanks for the great explanation. Can you please share the data and the code?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Thanks for the appreciation. Please share your email id with us (it will not be published). We will forward the source code to your email address.

  • @fridahkarimi7110
    @fridahkarimi7110 4 года назад

    Good explanation ,, kindly may i get the code

    • @edurekaIN
      @edurekaIN  4 года назад

      Hi Fridah, kindly drop in your email id to help us assist you with the required source codes :)

  • @adedamolapelumi5774
    @adedamolapelumi5774 4 года назад

    Great lecture! Can you please share the code?

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @sejalanand23
    @sejalanand23 4 года назад

    Could you pls explain in the simplest language, the difference between fit() and fit_transform().

    • @edurekaIN
      @edurekaIN  4 года назад +4

      "fit" computes the mean and std to be used for later scaling (just a computation), nothing is given to you. "transform" uses a previously computed mean and std to autoscale the data (subtract mean from all values and then divide it by std). "fit_transform" does both at the same time. Hope that helps!

  • @premalathat7874
    @premalathat7874 5 лет назад

    What is the value of SSE if number of data points and cluster are equal?

    • @edurekaIN
      @edurekaIN  5 лет назад +1

      If all cases within a cluster are identical, the SSE would then be equal to 0.

  • @rasikakulkarni6685
    @rasikakulkarni6685 3 года назад

    Will you pls share the code which you have explained here

    • @edurekaIN
      @edurekaIN  3 года назад

      Hi ! Good to know that our videos are helping you to learn better :) Please share your mail id to share the data sheets :)We’ll update you soon . Do subscribe the channel for more updates : )

  • @kimbreldias924
    @kimbreldias924 4 года назад

    Thanks for the great explanation, I just had one question. If I have a dataset with 3 classes, then should I choose k=3? or is it irrespective of the classes?

    • @edurekaIN
      @edurekaIN  4 года назад +1

      You can use either of the following methods to get the value of k:
      The Elbow Method
      The Silhouette Method

  • @saravanaayyappa4049
    @saravanaayyappa4049 5 лет назад

    Hi,
    how do we choose the distant metrics like manhattan, eucladean and minkowski distance. what are the main things to look for?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Hey Saravana, There is no clear-cut answer for this. If you want your distance to reflect "absolute magnitude" then use Manhattan and Euclidean

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

    From where I can get the PPT used in this lecture

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

      Thanks for showing interest in Edureka! Kindly share your mail id for us to share the datasheet/ source code :) Do subscribe for more videos & updates

  • @pushkarp7832
    @pushkarp7832 6 лет назад

    If we have two clusters one for true and one for false then how do we know which cluster is of true and which one is for false because k means just gives output 0 and 1 as cluster number

    • @edurekaIN
      @edurekaIN  6 лет назад +1

      Hey Pushkar, You will be polling that particular node to check for the characteristics. Happy learning!

  • @TheTedyoo
    @TheTedyoo 2 года назад

    Can I get this tutorial code?

    • @edurekaIN
      @edurekaIN  2 года назад

      Hi great to hear from you :) please share your mail id ! so that we can share the data sheet with you :)Do subscribe the channel for more updates : )

  • @shambavikp7407
    @shambavikp7407 6 лет назад

    I am not getting the output for assignment phase. can u please help me out?

    • @edurekaIN
      @edurekaIN  6 лет назад

      Hey Shambavi, Can you please elaborate on the issue more so that we can help you out?

  • @aiswarya3461
    @aiswarya3461 5 лет назад +2

    can u mail me the code and dataset ?

  • @laraibamjad4049
    @laraibamjad4049 4 года назад

    Hi! Can you pls share the code?

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @muhammadyanuar7382
    @muhammadyanuar7382 3 года назад

    pardon, can I get those code?

    • @edurekaIN
      @edurekaIN  3 года назад

      Hi Yanuar, kindly drop in your email id to help us assist you with the required source codes. Cheers :)

  • @astritBA
    @astritBA 5 лет назад

    Hej Awesome tutorial can you send me code and dataset?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Hey, Please share your email id with us (it will not be published). We will forward you the source code and the dataset to your email address.

  • @oluwaseyiakinwande1248
    @oluwaseyiakinwande1248 4 года назад

    Can you share the code? Thanks!

    • @edurekaIN
      @edurekaIN  4 года назад

      Please mention your email id (it will not be published). We will forward the code to your email address.

  • @nadabu.274
    @nadabu.274 4 года назад

    Can you share code? thank you

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the source code to your email address.

  • @mytalent2301
    @mytalent2301 2 года назад

    Can you please provide me the ppt!

    • @edurekaIN
      @edurekaIN  2 года назад

      We are glad to have learners like you. Please do share your mail id so that we can send the notes or source codes. Do subscribe our channel and hit that bell icon to never miss an video from our channel

  • @adeelhashmi9773
    @adeelhashmi9773 2 года назад

    Where I found this code

    • @edurekaIN
      @edurekaIN  2 года назад

      Hi please share your mail id to share the data sheet :) We'll Update you soon ! Do Subscribe the channel to keep updated

  • @shunlin4270
    @shunlin4270 4 года назад

    Hi, I got error like:'['distance_from_1', 'distance_from_2']' is an invalid key, does anyone knows why?

    • @edurekaIN
      @edurekaIN  4 года назад

      You are probably trying to access directly as array. Using iloc/loc will resolve the issue.

  • @shailyagandhi9453
    @shailyagandhi9453 3 года назад

    Can you share the code, please?

    • @edurekaIN
      @edurekaIN  3 года назад

      Glad you liked it ! We are glad to have learners like you .Drop your mail id in the comment section for us to share the data sheets or source codes :) Do subscribe our channel and hit that bell icon to never miss an video from our channel .

  • @dwijsharma779
    @dwijsharma779 4 года назад

    Can i please get the codes and program file

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @RaviYadav-rb8ne
    @RaviYadav-rb8ne 3 года назад

    Could you pls provide me code and data set for hands on

    • @edurekaIN
      @edurekaIN  3 года назад

      Hi Ravi, we will definitely share the codes. Please provide your email id and we will share it to you, cheers :)

  • @charlesglah5267
    @charlesglah5267 5 лет назад

    can you share the code and data?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Hi, Please mention your email id (it will not be published). We will forward the code and dataset to your email address.

  • @aizanadeem4690
    @aizanadeem4690 4 года назад

    Can I have the source code of it?

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @jobaidulalam7410
    @jobaidulalam7410 4 года назад

    Can you share the code?

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @harshbiyani3048
    @harshbiyani3048 6 лет назад +2

    Who is the presenter?

    • @edurekaIN
      @edurekaIN  6 лет назад +1

      Hey Harsha, our instructors are industry experts working in the industry on that particular technology. This is how we make sure that our training module is relevant to the industry requirements. You can check out our courses and the batches here: www.edureka.co/all-courses
      Hope this helps :)

  • @muhammadrizky7075
    @muhammadrizky7075 4 года назад

    hello, may i get the code ?

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @aveshnarainpersath5436
    @aveshnarainpersath5436 4 года назад

    Hi can i please have the code

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the source code to your email address.

  • @smubeenabegum2827
    @smubeenabegum2827 6 лет назад

    Can I get those files?

    • @edurekaIN
      @edurekaIN  6 лет назад +1

      Hey Mubeena, please do mention your email ID over here and we will send the files to you. Cheers!

  • @mohsinrasheed7645
    @mohsinrasheed7645 2 года назад

    please share code

    • @edurekaIN
      @edurekaIN  2 года назад

      Hi : ) We really are glad to hear this ! Truly feels good that our team is delivering and making your learning easier :) Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : ) Hit the bell icon to never miss an update from our channel : )

  • @rohan_fitness2046
    @rohan_fitness2046 6 лет назад +1

    can i get dataset

    • @edurekaIN
      @edurekaIN  6 лет назад

      Hey Rohan, surely you can. Just mention your email id over here(we won't publish it) so that we can mail the files to you. Cheers!

  • @moushannaznin3166
    @moushannaznin3166 5 лет назад

    can you give your source code?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Please share your email id with us (it will not be published). We will forward the source code to your email address.

  • @TravellingTuber
    @TravellingTuber 3 года назад

    canyon share the code file ? please

    • @edurekaIN
      @edurekaIN  3 года назад

      Glad you liked it ! We are glad to have learners like you .Drop your mail id in the comment section for us to share the data sheets or source codes :) Do subscribe our channel and hit that bell icon to never miss an video from our channel .

  • @shafiaafin8945
    @shafiaafin8945 5 лет назад

    can I get the code?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Hey Shafia, glad you loved the video. Please mention your email ID and we will send the files to you. Cheers!

  • @haiyingn
    @haiyingn 6 лет назад

    can you email me the code and data ? Cheers.

    • @edurekaIN
      @edurekaIN  6 лет назад

      Hey haiyingn, we hope you liked the video. Please do mention your email ID over here and we will send the files to you. Cheers!

  • @jalaluddin9484
    @jalaluddin9484 3 года назад

  • @scientistnayim3571
    @scientistnayim3571 4 года назад +1

    Thanks for the great explanation. Can you please share the data and the code?

    • @edurekaIN
      @edurekaIN  4 года назад +1

      Please mention your email id (it will not be published). We will forward the code and dataset to your email address.

  • @annussabdullah2565
    @annussabdullah2565 3 года назад

    Thank you sir

  • @AwatefChniguir
    @AwatefChniguir 3 года назад +1

    Great job. can you please share the code? Thanks

    • @edurekaIN
      @edurekaIN  3 года назад

      Hi, kindly drop in your email id to help us assist you with the required source codes. Cheers :)

  • @rimakundu5639
    @rimakundu5639 4 года назад

    Can you share the code? Thanks!

    • @edurekaIN
      @edurekaIN  4 года назад

      Please share your email id with us (it will not be published). We will forward the code to your email address.

  • @ayoubrachid82
    @ayoubrachid82 5 лет назад

    Please i need the code ?

    • @edurekaIN
      @edurekaIN  5 лет назад +1

      Please mention your email id (it will not be published). We will forward the code to your email address.

  • @chaithrad431
    @chaithrad431 5 лет назад

    Can I get the code?

    • @edurekaIN
      @edurekaIN  5 лет назад

      Please mention your email id (it will not be published). We will forward the code to your email address.

    • @AllforONE-AhadunAhad
      @AllforONE-AhadunAhad 4 года назад

      @@edurekaIN Hello, can you please send the code to me as well? Thanks a lot

    • @AllforONE-AhadunAhad
      @AllforONE-AhadunAhad 4 года назад

      @@edurekaIN Here is the email for the code: sanjin.usa@gmail.com

  • @vaitheekanallasamy6363
    @vaitheekanallasamy6363 3 года назад

    Can you kindly share the code?

  • @aairahkumari8788
    @aairahkumari8788 3 года назад

    Can you share the code? Thanks!

    • @edurekaIN
      @edurekaIN  3 года назад

      Hi Aairah, kindly drop in your email id to help us assist you with the required source codes. Cheers :)