How to Perform Hierarchical Clustering in Python( Step by Step)

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

КОМЕНТАРІ • 33

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

    Another great video from you. Thank you

  • @linda_erose
    @linda_erose 5 місяців тому +1

    exactly what i was looking for

    • @KindsonTheTechPro
      @KindsonTheTechPro  5 місяців тому

      Good you found this! Do remember to subscribe to my channel for more like this 😄

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

    Hey Kindson The Tech Pro, the model accuracy is really low, 0.255.
    # standardizing the data:
    import sklearn.metrics as sm
    from sklearn.preprocessing import StandardScaler
    x = StandardScaler().fit_transform(points)
    # note this also changes the way the dendrogram looks
    dendrogram = sch.dendrogram(sch.linkage(x, method='ward'))
    y_hc = hc.fit_predict(x)
    # checking for accuracy
    sm.accuracy_score(dataset[1], y_hc)
    # output: 0.33
    When I standardize the data it goes up to 0.33 that's not much of an improvement.
    Any idea how to fix this?

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

    i was looking for this. since very long

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

    Hi, this video is awesome, I have a question: How to measure the accuracy for Hierarchical Clustering in python?

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

    Hi, this video is awesome, it really helps me understand the Hierarchical.

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

    Keep it up, very informative and clear explanations.

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

    can you make a video about divisive clustering and finding divisive coefficient

  • @TheAnbohan
    @TheAnbohan 3 роки тому +5

    Hi, good idea not to edit the typo part of the video. It serves to illustrate what often happens in real life coding... ;)

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

    hi kindson can you help me in making cluster for text documents ? how would i upload my own data for this purpose? and aply heirarchicle clustering plus its accuracy and relevance measurements ?

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

    Nice job!
    What if had categorical variable?

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

    Hi, thank you for sharing this video. It was so helpful, but can you please also explain how to find and show the centroids of the cluster on the scatter plot.

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

      Yes, sure. Remember to subscribe to get notified.

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

      @@KindsonTheTechPro thank you. I found how to do that

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

      Hi, can you please share the solution of how to find the centroids in hierarchical clustering ? Thanks in advance

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

    Very good amazing video

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

    @kindson the tech pro please share the video on how to find the centroids in hierarchial clustering

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

    so what is difference b/W K-means method and aglomirative method

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

    Great video.

  • @brianadams2862
    @brianadams2862 5 років тому +2

    nice job champ

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

    How optimal number of clusters can be find from dendrogram?

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

    what if you have multidimensional data example 40 or 50.....how to apply clustering for that

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

    do y have a link with the code ?

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

    Can I get the code link??

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

      Sure! Please find the codes here in my github repo github.com/KindsonTheGenius/hierarchical-clustering-python

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

    Good job. Could you perform Space-Time Hierarchical Clustering in python. This is new algorithm and we want to learn how its code?

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

    Amazing

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

    that is not from scratch, or step by step cause is using dendogram as a special function

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

    Agglomerative is not defined

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

    Bonsoir