How to Perform K Means Clustering in Python( Step by Step)

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ •

  • @KindsonTheTechPro
    @KindsonTheTechPro  4 роки тому +9

    Hi guys, thanks for being there! You could support my channel by buying me a coffee buymeacoff.ee/PWsXo7h13

  • @iheomaokeke-banks9666
    @iheomaokeke-banks9666 Рік тому

    Thank you so much for this video!! It made a huge difference in my ability to complete an assignment in my advanced analytics class. Your explanations are clear and effective. Truly appreciate you.

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

    Thanks, simle and clear step by step explonation. I wish I could find such tutorial for recommendation system.

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

      Glad it was helpful! i'll likely do this in coming week. You can subscribe to get notified.

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

    Great job Kindson. Please, do a video on assessing the performance of clustering algorithms.

  • @msctube45
    @msctube45 4 роки тому +2

    Thanks a lot for set me up to speed on K Means Clustering. Great job organizing the presentation and explaining step by step the programming involved in it.

  • @janniesworld173
    @janniesworld173 Рік тому

    I am looking forward to the second video😊

  • @archanagaurrpite2538
    @archanagaurrpite2538 4 роки тому +12

    Can you help me by explaining how to perform clustering on our own dataset(.csv file)

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

      Yes sure

    • @sureactivity
      @sureactivity 10 місяців тому

      hello , were you able to get any help in respect to your question

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

    How do I insert my own dataset to this code?

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

    I really like your video. Thx from Brazil :D

  • @RakeshKumar-wc2ng
    @RakeshKumar-wc2ng 2 роки тому

    "You Definitely deserve a Coffee". Thank you so much nicely crafted and defined.👍

  • @ByGrasp
    @ByGrasp 3 роки тому +6

    Thank you for this tutorial sir. This helped me a lot!

  • @parthadebnath3414
    @parthadebnath3414 5 років тому +4

    Very good explanation 👍. Make more videos on tech ❤️

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

    you are cool ! this video is so simple and easy to understand. great job sir

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

    Helped me alot sir... thanks alot

  • @madhaviudemy5615
    @madhaviudemy5615 4 роки тому +1

    wow!! that's a beautiful explanation. Thank you for sharing your knowledge . love from India.

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

    What if I have a dataset that I want to work with?

  • @kapilgupta4586
    @kapilgupta4586 4 роки тому +4

    Where is Model Performance Evaluation? How you will check & say your model is good? You should have to cover that also in broad level :(

  • @gauravsahani2499
    @gauravsahani2499 4 роки тому +5

    Great tutorial Sir, Thank you!

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

    Hi there, I am working on VANET .So, how can I apply DBSCAN clustering then select a specific two adjacent clusters and we do re-clustering with different parameters (means minpts, and epsilon)?

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

    Sir urgent question
    I want to make my 'target' count same for 0 and 1 for whole DataFrame.
    With sequence 0,1,0,1 .....
    Please reply

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

    Sir i have an urgent query please answer🙏
    Can i give kmeans prediction value of X matrix to ' y' instead if directy ' y'
    model=KMeans(n_clusters=2,random_state=0).fit(X)
    y=model.predict(X)
    X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.4, random_state=0)

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

      You can predict the cluster for any new data point. But can you clarify

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

    This is amazing. Thank you very much.

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

    great! love it bro

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

    Hi Kindson, how can I contact you privately?

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

    Sir plz answer me
    My
    Import matplotlib.pyplot as plt
    I Can not import it gets error

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

      What is the error message? Because matplotlib should be installed by default

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

    Can you tell how to print what all records exist in let's say Cluster 1. Since Management will be more interested in knowing who all exist in a specific cluster for decision making.
    Thanks.

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

    very well done

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

    How do you see all points in your predicted cluster

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

    do you have kmeans code without the library? thank you

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

    Thank you very much!!

  • @MuhammadKamran-ii4rh
    @MuhammadKamran-ii4rh 3 роки тому

    Love from Indonesia

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

    how can I use this algorithm with PCA to select the most relevant features?

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

    Sir can you help me in making a project on social media analysis using optimized clustering algorithm

  • @victorhe9600
    @victorhe9600 4 роки тому +1

    I love this video! COuld you please make a video on how to make it 3d? Thanks!

  • @elkingomez3368
    @elkingomez3368 4 роки тому +1

    gracias

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

    Great video! I subscribed!

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

    Could not understand "sklearn". Is this available when we write our code?

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

    great lesson

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

    can u send me the link of code?

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

      Sure! Please find all codes here github.com/KindsonTheGenius/k-means-clustering

  • @Kmysiak1
    @Kmysiak1 4 роки тому +1

    scaling? train/test split? cross-validation?

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

      I don't think you need train/test for unsupervised ML but scaling definitely.

  • @АйгеримАбсадык-л3н

    Hi,can I use this code on clustering documents using k-means algorithm?

  • @cagn154
    @cagn154 Рік тому

    thank u!!!!!

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

    This was helpful

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

    Great Video, Could you share us some insight on how MapReduce Kmeans code working if possible ?

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

    Hey! Cool video.. do you have any tutorials on how I can apply this to some Gait Data for my University Project?

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

    thanks bro

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

    how can I use this code for energy consumption ?

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

    Can you provide the notebook?

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

    Can you show me how i do classification on ACM using python
    I did the classification but I didn't know how to represente it
    Please help me

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

      Would you like to join and 6 Weeks Intensive Data Science Course that begins this week? Let me know on mail@kindsonthegenius.com.

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

    how to write spell checking using clustering algorithm

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

    Sir can we implement " K means clustering using Artificial Bee colony algorithm " in Python.

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

      Sure you can but I'll be quite difficult since I've not seen an implementation of this algorithm. Maybe I would try to work on it when I have some time.

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

      @@KindsonTheTechPro sir I will be very thankful if you can help. It's really important for me.

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

    how about the elbow plot??

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

    15:30

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

    I want clustering on image analysis datasets and code also

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

    can anyone interpret me the result? plz

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

    Present sir

  • @Lakshmipriya-hc1wm
    @Lakshmipriya-hc1wm 3 роки тому +1

    Can you please teach it without random data points. It's really annoying to see all the random number and not have a meaning to the analysis . Its really confusing to remember long term .specific data il be helpful for teaching .atleast that way diff possible question might arise

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

    Nice video, thnx :) but teh speaker's accent & voice is not very clear! :(