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

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

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

  • @SimplilearnOfficial
    @SimplilearnOfficial  20 дней назад

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

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

  • @Gloryisfood
    @Gloryisfood 3 года назад +4

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

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

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

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

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

  • @javierguajardoyanez5609
    @javierguajardoyanez5609 2 года назад +2

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

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

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

  • @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: ruclips.net/video/ukzFI9rgwfU/видео.html.

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

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

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

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

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

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

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

      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.

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

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

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

    Please give explanation about SVM algorithm AND SURF extraction

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

      Please watch our SVM tutorial: ruclips.net/video/TtKF996oEl8/видео.html, as it will help you to understand the algorithm in an easier way.

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

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

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

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

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

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

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

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

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

    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.

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

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

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

    how to get clustered data after clustering

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

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

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

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

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

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

    Thanks it helps a lot

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

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

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

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

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

  • @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: ruclips.net/video/ukzFI9rgwfU/видео.html
      And don't forget to like, share and subscribe to our channel! :)

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

    Very Precise and distinguished concept explanation. Brilliant work.

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

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

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

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

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

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

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

  • @123XanderS
    @123XanderS 3 года назад

    Great video. Thank you.

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

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

    how is the centroid calculated for the data point cluster?

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

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

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

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

    can i use kmeans clusturing for location based recommendation engine

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

      Yes, it is possible.

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

      Ok thank you sir for replying

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

      @@SimplilearnOfficial can you please tell me if i can use address zip code as a parameter for making clusters

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

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

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

    This is Amazing! Thanks so much!

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

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

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

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

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

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

    best tutorial for k-means

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

      It is our pleasure! Check out ruclips.net/video/ukzFI9rgwfU/видео.html for more in-depth tutorials! Happy learning!

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

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