K Means Clustering Algorithm | K Means In Python | Machine Learning Algorithms |Simplilearn

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 313

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

    "🔥Caltech Post Graduate Program In AI And Machine Learning - www.simplilearn.com/artificial-intelligence-masters-program-training-course?Xvwt7y2jf5E&Comments&UA-cam
    🔥IITK - Professional Certificate Course in Generative AI and Machine Learning (India Only) - www.simplilearn.com/iitk-professional-certificate-course-ai-machine-learning?Xvwt7y2jf5E&Comments&UA-cam
    🔥Purdue - Post Graduate Program in AI and Machine Learning - www.simplilearn.com/pgp-ai-machine-learning-certification-training-course?Xvwt7y2jf5E&Comments&UA-cam
    🔥IITG - Professional Certificate Program in Generative AI and Machine Learning (India Only) - www.simplilearn.com/iitg-generative-ai-machine-learning-program?Xvwt7y2jf5E&Comments&UA-cam
    🔥Caltech - AI & Machine Learning Bootcamp (US Only) - www.simplilearn.com/ai-machine-learning-bootcamp?Xvwt7y2jf5E&Comments&UA-cam"

  • @Gloryisfood
    @Gloryisfood 3 роки тому +4

    Much better explanation of K-means than my professor's lecture. Thank you, Sir.

  • @scienceofart9121
    @scienceofart9121 4 роки тому +3

    Subscribed directly. Really clean and easy tutorial for even absolute beginners

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      Thanks for subscribing to our channel. We welcome you to our community!

  • @aruns7054
    @aruns7054 6 років тому +4

    finally I find the best tutorial for k-means algorithm

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому +1

      Hi Arun, we are feeling happy and glad to receive such appreciation. We put up new videos every week on all your favourite topics. Whenever you have the time, you must check our Machine learning playlist: ua-cam.com/video/ukzFI9rgwfU/v-deo.html.

  • @FrancoSciaraffia
    @FrancoSciaraffia 2 роки тому +1

    excellent video, by min 5 i already understood everything I need to go off and program this on my own, thanks!

    • @SimplilearnOfficial
      @SimplilearnOfficial  2 роки тому

      We are glad you found our video helpful. Like and share our video with your peers and also do not forget to subscribe to our channel for not missing video updates. We will be coming up with more such videos. Cheers!

  • @naweedkhan2046
    @naweedkhan2046 6 років тому +4

    Good explanation.
    The video has very good clarity & helps in understanding the concept better.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Thank You, Naweed! Appreciate your feedback. Subscribe to our channel and press the BELL icon for never missing another update.

  • @patrickmatimbe18
    @patrickmatimbe18 5 років тому +3

    this is the best best tutorial that i have ever watched, thank you for the video

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hey Patrick, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

    • @coolkoala282
      @coolkoala282 4 роки тому

      Spot on

  • @SimplilearnOfficial
    @SimplilearnOfficial  3 роки тому +3

    Thanks for watching the video. Hope you enjoyed watching our video. The link for the dataset used in the video is provided in the description. Thanks!

  • @azimuddinansari5980
    @azimuddinansari5980 6 років тому +4

    Extremely good!
    All your tutorials on ML are excellent. Explaining is simple and good for every level.
    Can you plz share the all the datasets? please.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому +3

      Hi Azim, thanks for watching our video and we are glad you love our tutorials. However, the requested dataset is not taken from an external source. The dataset used in the video is a part of the code and it was taken from the "scikit-learn" library. Hope that helps.

  • @hassanjaved2435
    @hassanjaved2435 2 роки тому

    Very Precise and distinguished concept explanation. Brilliant work.

  • @debanitadasgupta790
    @debanitadasgupta790 6 років тому +1

    best tutorial for k-means ... bravo !!!

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hey Debanita, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @rams_here
    @rams_here 4 роки тому

    Excellent Tutorial even beginners with Mathematical knowledge can easily understood this... thank you very much :)

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out our blog page @simplilearn.com and tell us what you think. Have a good day!WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out our blog page @simplilearn.com and tell us what you think. Have a good day!

  • @javierguajardoyanez5609
    @javierguajardoyanez5609 3 роки тому +2

    Extremely good video! Can you tell me, why 255 to divide image data?

  • @user-ce3cv9rf2g
    @user-ce3cv9rf2g 3 роки тому +2

    I really loved💗 your ml tutorials.
    I request you to please solve the real word cases using the datasets.

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому +1

      Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : )

    • @user-ce3cv9rf2g
      @user-ce3cv9rf2g 3 роки тому

      @@SimplilearnOfficial ok

  • @vasantaraman1596
    @vasantaraman1596 3 роки тому +1

    Super explanation flow of explanation so smooth like a stream a gifted teacher vkraman bsc mba pg diploma in or & qc

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Thank you for the appreciation. You can check our videos related to various technologies and subscribe to our channel to stay updated with all the trending technologies.

  • @kaavyamalhan6550
    @kaavyamalhan6550 3 роки тому +1

    you guys are rockstars!!!!!!

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!

  • @meme2918m
    @meme2918m 5 років тому +3

    very good tutorial and well explained, thanks ! can u plz tell me how did u calculate the new centroid for a 2-d value ?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hi, thanks for watching our video. The 2-d value can be calculated with elbow method

  • @THE.fatle.drawer
    @THE.fatle.drawer 5 років тому +1

    Very good tutorial.... dataset please....

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hello Narendra, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

    • @THE.fatle.drawer
      @THE.fatle.drawer 5 років тому +1

      @@SimplilearnOfficial do you want to share my ID here?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      You can post it in the comment section and we will send you required file directly. If you want your email ID to be kept hidden from others, we can do that as well. Hope that helps!

  • @GPutraJayawardana
    @GPutraJayawardana 5 років тому +1

    Please give explanation about SVM algorithm AND SURF extraction

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Please watch our SVM tutorial: ua-cam.com/video/TtKF996oEl8/v-deo.html, as it will help you to understand the algorithm in an easier way.

  • @sarada2393
    @sarada2393 6 років тому

    best tutorial for k-means

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      It is our pleasure! Check out ua-cam.com/video/ukzFI9rgwfU/v-deo.html for more in-depth tutorials! Happy learning!

  • @muskduh
    @muskduh 2 роки тому +1

    This is great

    • @SimplilearnOfficial
      @SimplilearnOfficial  2 роки тому

      Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : )

  • @ankitnayan4688
    @ankitnayan4688 5 років тому +1

    Thanks it helps a lot

  • @fikrewold
    @fikrewold 3 роки тому

    This is Amazing! Thanks so much!

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Hope you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @anand7427
    @anand7427 4 роки тому

    This is really an awesome lecture can please let me know the all other algorithms explained by the same professor

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      Thanks for the overwhelming comment. We have different instructors for different topics.

  • @123XanderS
    @123XanderS 3 роки тому

    Great video. Thank you.

  • @nm-oq1bh
    @nm-oq1bh 3 роки тому

    Thanks a bunch for this video sir!!!!! it's really informative!!!! could you please share the csv file????

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Hello, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we can send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that too. Hope that helps.

  • @sameerkumarmeher
    @sameerkumarmeher 5 років тому +1

    Hi, How is this series different from whats available in Simplilearn's website (course for 'Machine Learning Certification Course')

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hi Sameer, the series available in UA-cam gives a high-level understanding of the subject and it helps you study more and move further in the subject. However, Simplilearn's Machine learning course provides 36 hours of instructor-led training with certification, 4 real-life Industry projects with integrated labs, Gain expertise with 25+ hands-on exercises, Dedicated mentoring session from our faculty of industry experts and much more. Hope that helps!

  • @harshita8600
    @harshita8600 6 років тому

    Good explanation sir.. Thankyou sir..

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hey, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @saurabhdhillon5875
    @saurabhdhillon5875 5 років тому +1

    You are best sir

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Thanks a lot! Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @matthewigbinehi1610
    @matthewigbinehi1610 3 роки тому +1

    Please help me with the data set to work on

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Hello, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we can send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that too. Hope that helps.

  • @841533356v
    @841533356v 6 років тому

    Is there a method to directly decide the optimum number of clusters instead doing 1, 2 , 3 , 4 ....10 and taking the best. Does it mean always need prior knowledge? Is this a limitation of this method?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому +1

      Yes, there are methods to decide the optimum number of clusters. WSS and elbow method are the two ways to determine it. There will be some limitation or the other for every method. Hope that helps!

    • @841533356v
      @841533356v 5 років тому

      Simplilearn Thanks

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      You are welcome!

  • @tankytitan1304
    @tankytitan1304 4 роки тому

    Hello simplilearn can you suggest me the best way to practice machine learning and a good website for downloading datasets
    Thank you

  • @dheerajpal7395
    @dheerajpal7395 6 років тому

    Hi very informative and great explanation love your videos, can you please share the data sets.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hello Dheeraj, thanks for appreciating our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

    • @dheerajpal7395
      @dheerajpal7395 6 років тому

      @@SimplilearnOfficial thank you , paldheeraj25@gmail.com

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Dheeraj, thanks for providing us with the email ID. We have sent the requested dataset to your mail ID. Do subscribe, like and share to stay connected with us. Cheers :)

  • @viewableorchid6464
    @viewableorchid6464 5 років тому

    Excellent video. Hi There, Please can you share me the dataset and the code used in this tutorial. Many Thanks in advance

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hello Arjun, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

  • @shahabshadan7098
    @shahabshadan7098 6 років тому +1

    Thanks for the video. I have a question. What does this zeros do in your code, where you wrote: "..
    new_centers = np.array([ X[labels == i].mean(0) for i in range(n_clusters)].
    I do not understand the functionality of the 0 in the mean() function.
    Thanks in advance

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Shahab, thanks for checking out our content. It is an index because indexing in Python starts from 0. Hope that helps!

  • @manuagarwal8894
    @manuagarwal8894 5 років тому

    What if the Euclidean distance comes out to be exactly equal from the data point to the two centroids?

  • @hv3300
    @hv3300 6 років тому

    I think at 7.43 arrows should point upwards.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi, thanks for pointing that out. The arrows in the diagram are not wrong but the diagram should have been kept inverted. It is our mistake.

  • @apekshaagrawal6696
    @apekshaagrawal6696 5 років тому

    hi the video is very organised and informative. can you please provide me with data and python nb code for the flower color compression example shared in the video?

  • @bharathjc4700
    @bharathjc4700 6 років тому

    great video ppls share the data and notepad

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Bharath, thanks for watching our video. We have sent the required code source and dataset information to your mail ID. Do support us by liking and subscribing to our channel.

  • @BOUTAYEBMarouane
    @BOUTAYEBMarouane 6 років тому

    Hello
    I allow myself to contact you,
    , can you help me please.
    I did question Number 1 in Matlab
    can you help me to do 2 an 3 ??
    1) Create the core functions:
    - polynomial (c, h, x, y)
    -Gaussian (standard deviation, x, y)
    -sigmoid (alpha, beta, x, y)
    -khi-two (x, y)
    2) create a function that constructs a gram matrix.
    3) Karnelk means classification algorithm

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hi, thanks for contacting us. We have given the answer to the second question below. For the third one, please be more specific about the question. Thanks.
      2. They are valid function calls. The states variable is a cell array each cell of which contains a function handle. First, you index into the cell array to retrieve a function handle, then you evaluate that function handle.

  • @venky9949733154
    @venky9949733154 5 років тому

    Nice video

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hey Venkat, we're glad you enjoyed this video! If you want to learn more, you can check out this playlist: ua-cam.com/video/ukzFI9rgwfU/v-deo.html
      And don't forget to like, share and subscribe to our channel! :)

  • @suman902011
    @suman902011 6 років тому

    Nice explanation. Could you please share the github Url of the sample code used for demo!

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Suman, we are glad that you found our video helpful. It would be great if you could share your email ID with us so that we can send the dataset directly. If you want your email ID to be kept hidden from other, we can do that as well. Thanks.

    • @suman902011
      @suman902011 6 років тому

      Pls send the code snippet and dataset to suman90.2010@gmail.com. Thank you.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Suman, sorry for the inconvenience. The requested dataset is not taken from an external source.
      The used dataset in the video is a part of the code and it was taken from the "scikit-learn" library. Hope that helps.

    • @suman902011
      @suman902011 6 років тому

      Will you be able to share the code snippet to my mail id

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Suman, we have shared the code to your mail ID. Do let us know if you find any difficulty in K Means Clustering. Happy learning!

  • @indumeledath318
    @indumeledath318 5 років тому

    hi, good tutorial. can I get the code as well as the data set?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hello Indu, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

    • @indumeledath318
      @indumeledath318 5 років тому +1

      HOW I CAN DO THAT?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      You can share your email ID with us and we will send the required source code in the mail ID. We will keep your comment hidden from others!

  • @shivanidhende5229
    @shivanidhende5229 4 роки тому

    can i use kmeans clusturing for location based recommendation engine

  • @roseb2105
    @roseb2105 6 років тому

    how is the centroid calculated for the data point cluster?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hi Rose, the centroid is calculated based on the Euclidean distance.

  • @pawank2009
    @pawank2009 4 роки тому

    Great video! Are you able to send me the ipynb file please?

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      Hello Shiva, thanks for viewing our tutorial and we hope it is helpful. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly.

  • @dkishore599
    @dkishore599 5 років тому

    i am new to ML, learning now, i seen complete video, i have small confusion here-As per Problem Statement WalMart wants most revenue locations to open a Store, by WALMART raw data set you have taken 4-clusters by using this clusters how Walmart management knows that 4- Locations to open a store what was that Locations
    reader please help me if do you know about this one.

  • @jebinalal3754
    @jebinalal3754 5 років тому

    why the picture is dividing by 255? is that a constant value for doing that?

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      A color in RGB is usually encoded as a 3-tuple of 8 bits each, where 255 stands for full presence of color.

  • @mahdiislam869
    @mahdiislam869 3 роки тому +1

    Can I please get the dataset

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Hello, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we can send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that too. Hope that helps.

    • @mahdiislam869
      @mahdiislam869 3 роки тому

      @@SimplilearnOfficial ​ I want to keep my email hidden.

  • @vigneshkumar7537
    @vigneshkumar7537 4 роки тому

    could you please send the ppt link of k means algorithm

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      Hi Vignesh, you can check out the PPT with this link: www.slideshare.net/Simplilearn/k-means-clustering-algorithm-k-means-clustering-example-machine-learning-algorithms-simplilearn

  • @Bargains20xx
    @Bargains20xx 4 роки тому

    you can't simply divide china by 255 42:35

  • @HaithamAlshari
    @HaithamAlshari 6 років тому

    Thank you for this video. Can you send me the csv file.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому

      Hi Haitham, please leave your email ID in the comment section below. We will send the dataset directly to your inbox. Thanks!

  • @meetlathiya211
    @meetlathiya211 4 роки тому

    how to get clustered data after clustering

  • @prakashc4204
    @prakashc4204 4 роки тому

    Excellent video for Machine learning 👍 can i get source code and data set to my mail id

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      Hello Prakash, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

    • @prakashc4204
      @prakashc4204 4 роки тому

      @@SimplilearnOfficial c.prakash1894@gmail.com

  • @sairishi7903
    @sairishi7903 4 роки тому

    Can anyone explain this plt.scatter([:,0] , X[:,1] , s=50); plzzz

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      The position of a point depends on its two-dimensional value, where each value is a position on either the horizontal or vertical dimension

  • @phcunha1994
    @phcunha1994 5 років тому

    Could you please share the github Could you please share the github Url of the sample code used for demo! of the sample code used for demo!

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hello Pedro, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

  • @zenmatekhan842
    @zenmatekhan842 5 років тому

    Dataset please

    • @SimplilearnOfficial
      @SimplilearnOfficial  5 років тому

      Hello, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @SaddamShaikh-my6bk
    @SaddamShaikh-my6bk 6 років тому

    pls share dataset and source code.

    • @SimplilearnOfficial
      @SimplilearnOfficial  6 років тому +1

      Hi Saddam, thanks for watching our video. It would be great if you can share your email ID with us so that we can share the dataset as well as the source code immediately. Thanks.

    • @SaddamShaikh-my6bk
      @SaddamShaikh-my6bk 6 років тому +1

      saddamshaikh4570@gmail.com

  • @lilitaalem336
    @lilitaalem336 5 років тому

    I tried to cluster using your KMeans, function codes, it failed to return an output. What is the problem? Please see the following codings and help me. You can send me your answer to my email, attached to this comment. Thanks.
    while True:
    #2a assign labels based on closet center
    labels = pairwise_distances_argmin(X, centers)
    #2b find new centers from means of points
    new_centers = np.array(X[labels == i].mean(0)
    for i in range(n_clusters))
    #2c check for convergence
    if np.all(centers == new_centers):
    break
    centers = new_centers
    return centers, labels
    centers, labels = find_clusters(X, 4)
    plt.scatter(X[:, 0], X[:, 1], c = y_kmeans, s = 50, cmap = 'viridis')
    plt.scatter(centers[:, 0], centers[:, 1], c = 'black', s = 200, alpha = 0.5);

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      "Hi Lililta,
      Please help us with the error message you are getting. "

  • @pottalokesh2039
    @pottalokesh2039 3 роки тому +1

    It would be more better if the codes and functions were well explained. The code explanation is not good at all.

    • @SimplilearnOfficial
      @SimplilearnOfficial  3 роки тому

      Thank you for bringing this to our attention. We’re sorry you had a bad experience. We’ll strive to do better

  • @professorysr8596
    @professorysr8596 4 роки тому

    Would you kindly tell me your location

    • @SimplilearnOfficial
      @SimplilearnOfficial  4 роки тому

      We have presence both in America and India. You can contact us using this link: www.simplilearn.com/contact-us.