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

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 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

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

  • @niveditha-7555
    @niveditha-7555 4 ปีที่แล้ว +17

    Indians always comeup with top notch explanations.

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

  • @JonyWalkerAMV
    @JonyWalkerAMV 5 ปีที่แล้ว +4

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

  • @TheSubhadipMondal
    @TheSubhadipMondal 5 ปีที่แล้ว +2

    Thank you @AtulSir #Edureka ... My best free learning TH-cam channel.

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

  • @nasiksami2351
    @nasiksami2351 4 ปีที่แล้ว +1

    Comprehensive and to the point explanation. Kudos!

  • @a3i3m1an
    @a3i3m1an ปีที่แล้ว +1

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

    • @edurekaIN
      @edurekaIN  ปีที่แล้ว

      You're welcome 😊 Glad it was helpful!!

  • @ashwinishewale7451
    @ashwinishewale7451 5 ปีที่แล้ว +3

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

  • @arturmostowiak9427
    @arturmostowiak9427 3 ปีที่แล้ว

    So far the best explanation of this issue

  • @shampymansha4906
    @shampymansha4906 4 ปีที่แล้ว +1

    Very nice and easy to understand explanation. Thanks

  • @luishumbertoninoalvarez2287
    @luishumbertoninoalvarez2287 5 ปีที่แล้ว +5

    Thanks, great explanation!!!

  • @pawankatwe8985
    @pawankatwe8985 4 ปีที่แล้ว +2

    Thanks that was amazing explanation

  • @harshavardhana80
    @harshavardhana80 4 ปีที่แล้ว +1

    Awesome 👌 I love 💘 this

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

  • @anshukumari6616
    @anshukumari6616 4 ปีที่แล้ว +1

    Great explanation!
    Thank you very much!

  • @yashvishnoi4720
    @yashvishnoi4720 5 ปีที่แล้ว +4

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

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

  • @abdulrubbinmohsin6111
    @abdulrubbinmohsin6111 5 ปีที่แล้ว +2

    thank you explanation is awesome .

  • @blz1rorudon
    @blz1rorudon 5 ปีที่แล้ว +7

    Brilliant! Amazing explanation! Keep it up, man!

  • @greentechkey
    @greentechkey 4 ปีที่แล้ว

    Great Explanation of K-means.

  • @ethan612
    @ethan612 4 ปีที่แล้ว +1

    Thank you! Great tutorial!!!

  • @chandrajyothibojjapu2409
    @chandrajyothibojjapu2409 2 ปีที่แล้ว +1

    Thank you so much sir

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      Most welcome

  • @nag7432
    @nag7432 5 ปีที่แล้ว +1

    nice one! best explanation so far

  • @asthasona8803
    @asthasona8803 2 ปีที่แล้ว +1

    Thank you 😊

  • @neekhilprasad4717
    @neekhilprasad4717 2 ปีที่แล้ว +1

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

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

  • @pAfzalTariq
    @pAfzalTariq 6 ปีที่แล้ว +1

    got it. thanks

  • @somashekharreadsforyou2064
    @somashekharreadsforyou2064 3 ปีที่แล้ว

    Great Video.....

  • @seethasuri
    @seethasuri 5 ปีที่แล้ว

    Very nice session.. very well explained

  • @balavkrish
    @balavkrish 4 ปีที่แล้ว +1

    Good lecture

  • @shubhamagarwal5566
    @shubhamagarwal5566 5 ปีที่แล้ว +7

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

  • @rwagataraka
    @rwagataraka 5 ปีที่แล้ว

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

    • @edurekaIN
      @edurekaIN  5 ปีที่แล้ว

      Thanks a lot.

  • @samithaduthika2444
    @samithaduthika2444 5 ปีที่แล้ว +1

    thank you

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

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

  • @soumodeepsen3448
    @soumodeepsen3448 2 ปีที่แล้ว +1

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

  • @poojamishra7682
    @poojamishra7682 3 ปีที่แล้ว +1

    Wonderful session

  • @pramodkumargupta1824
    @pramodkumargupta1824 6 ปีที่แล้ว

    Nice video and content.

  • @ΦωτεινήκαιΑλίκηΡόμπε
    @ΦωτεινήκαιΑλίκηΡόμπε 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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 : )

  • @SwapnilPatil-db6wd
    @SwapnilPatil-db6wd 5 ปีที่แล้ว

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

  • @ashulohar8948
    @ashulohar8948 2 ปีที่แล้ว

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

    • @edurekaIN
      @edurekaIN  2 ปีที่แล้ว

      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

  • @pritomdas6215
    @pritomdas6215 5 ปีที่แล้ว

    good visualization

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

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

  • @ankitmahna6296
    @ankitmahna6296 5 ปีที่แล้ว +6

    can i get the codes?

  • @tapanjeetroy8266
    @tapanjeetroy8266 5 ปีที่แล้ว

    Thanks sir

  • @FarukShaikh12
    @FarukShaikh12 2 ปีที่แล้ว +1

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

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

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

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

  • @dhanyaathreya1393
    @dhanyaathreya1393 ปีที่แล้ว

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

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

  • @shivangimishra9723
    @shivangimishra9723 4 ปีที่แล้ว

    pls share the link of jupyter/colab notebook also.

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

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

  • @saravanaayyappa4049
    @saravanaayyappa4049 6 ปีที่แล้ว

    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

  • @renugas3162
    @renugas3162 2 ปีที่แล้ว +1

    How to find accuracy of this algorithm

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

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

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

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

  • @aiswarya3461
    @aiswarya3461 6 ปีที่แล้ว +2

    can u mail me the code and dataset ?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • @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 6 ปีที่แล้ว

    can I get the code?

    • @edurekaIN
      @edurekaIN  6 ปีที่แล้ว

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

  • @jalaluddin9484
    @jalaluddin9484 3 ปีที่แล้ว

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

  • @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 4 ปีที่แล้ว

    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.

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

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

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