Silhouette Score for clustering Explained | Silhouette (clustering)- Validating Clustering Models

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024
  • Silhouette Score for clustering Explained | Silhouette (clustering)- Validating Clustering Models
    #SilhouetteScore #UnfoldDataScience
    Hello ,
    My name is Aman and I am a Data Scientist.
    About this video:
    In this video, I speak about Silhouette Score and explain step by step how Silhouette Score works for cluster validation. I explain how to validate clusters and how to measure goodness of clusters. I explain the mathematical formula of Silhouette Score and intuition behind it. Below points are discussed in this video:
    1. Silhouette Score for clustering
    2. Validation on K-means clusters
    3. Cluster validation techniques
    4. How to measure goodness of clusters
    5. Unsupervised machine learning accuracy
    About Unfold Data science: This channel is to help people understand basics of data science through simple examples in easy way. Anybody without having prior knowledge of computer programming or statistics or machine learning and artificial intelligence can get an understanding of data science at high level through this channel. The videos uploaded will not be very technical in nature and hence it can be easily grasped by viewers from different background as well.
    If you need Data Science training from scratch . Please fill this form (Please Note: Training is chargeable)
    docs.google.co...
    Book recommendation for Data Science:
    Category 1 - Must Read For Every Data Scientist:
    The Elements of Statistical Learning by Trevor Hastie - amzn.to/37wMo9H
    Python Data Science Handbook - amzn.to/31UCScm
    Business Statistics By Ken Black - amzn.to/2LObAA5
    Hands-On Machine Learning with Scikit Learn, Keras, and TensorFlow by Aurelien Geron - amzn.to/3gV8sO9
    Ctaegory 2 - Overall Data Science:
    The Art of Data Science By Roger D. Peng - amzn.to/2KD75aD
    Predictive Analytics By By Eric Siegel - amzn.to/3nsQftV
    Data Science for Business By Foster Provost - amzn.to/3ajN8QZ
    Category 3 - Statistics and Mathematics:
    Naked Statistics By Charles Wheelan - amzn.to/3gXLdmp
    Practical Statistics for Data Scientist By Peter Bruce - amzn.to/37wL9Y5
    Category 4 - Machine Learning:
    Introduction to machine learning by Andreas C Muller - amzn.to/3oZ3X7T
    The Hundred Page Machine Learning Book by Andriy Burkov - amzn.to/3pdqCxJ
    Category 5 - Programming:
    The Pragmatic Programmer by David Thomas - amzn.to/2WqWXVj
    Clean Code by Robert C. Martin - amzn.to/3oYOdlt
    My Studio Setup:
    My Camera : amzn.to/3mwXI9I
    My Mic : amzn.to/34phfD0
    My Tripod : amzn.to/3r4HeJA
    My Ring Light : amzn.to/3gZz00F
    Join Facebook group :
    www.facebook.c...
    Follow on medium : / amanrai77
    Follow on quora: www.quora.com/...
    Follow on twitter : @unfoldds
    Get connected on LinkedIn : / aman-kumar-b4881440
    Follow on Instagram : unfolddatascience
    Watch Introduction to Data Science full playlist here : • Data Science In 15 Min...
    Watch python for data science playlist here:
    • Python Basics For Data...
    Watch statistics and mathematics playlist here :
    • Measures of Central Te...
    Watch End to End Implementation of a simple machine learning model in Python here:
    • How Does Machine Learn...
    Learn Ensemble Model, Bagging and Boosting here:
    • Introduction to Ensemb...
    Build Career in Data Science Playlist:
    • Channel updates - Unfo...
    Artificial Neural Network and Deep Learning Playlist:
    • Intuition behind neura...
    Natural langugae Processing playlist:
    • Natural Language Proce...
    Understanding and building recommendation system:
    • Recommendation System ...
    Access all my codes here:
    drive.google.c...
    Have a different question for me? Ask me here : docs.google.co...
    My Music: www.bensound.c...

ความคิดเห็น • 166

  • @shaneglean217
    @shaneglean217 2 ปีที่แล้ว +22

    The explanation is so concise and simple, even in spite of the fact that english isn't your 1st language. Amazing work my dude.

  • @ankitsapkota3713
    @ankitsapkota3713 2 วันที่ผ่านมา

    Never expected the conceptual delivery of this level without random steps out of the air in this accent.

  • @isaacyekoniya8067
    @isaacyekoniya8067 3 ปีที่แล้ว +11

    This is simple and well explained, thank you Aman!

  • @RoopaNandu-k8b
    @RoopaNandu-k8b 2 หลายเดือนก่อน

    Aman, your explanation is really good. Very precise and in detail

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

    Clear and right to the point! Thank you for your work! Much appreciated!

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

    Thank you so much, best explanation I've seen on the Internet!

  • @aaryalad7775
    @aaryalad7775 3 หลายเดือนก่อน

    I'm glad i found a teacher like you

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

    Sir you are the best teacher for DS ! Keep up the great work

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

    Too good...Way better than online courses that take thousands and thousands of money
    keep up the hard work

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

    This is gold! thanks for putting it very simple to understand

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

    at first it was very difficult for me to understand this, but you explained this in a very easy way....THANKYOU AMAN SIR FOR YOUR EASY AND INTUITIVE EXPLANATION!!!

  • @kushik.naveen
    @kushik.naveen 3 หลายเดือนก่อน

    This is so useful for understanding & revising. Amazing work! Thankyou!

  • @nandankakadiya1494
    @nandankakadiya1494 3 ปีที่แล้ว +2

    Amazing explaination thank you sir

  • @lhadz7290
    @lhadz7290 10 หลายเดือนก่อน

    Thank you so much for Sir, I am so glad I came across your video. I look forward to learn more from you. Thank you again.

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

    What a gem of an explanation you give bhai! Truly you make things so simple and understandable!
    You deserve more!

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

      Thanks a lot. Pls share with friends as well. Have a nice weekend ahead.

  • @izb1275
    @izb1275 หลายเดือนก่อน

    Great explanation !

  • @blackyogurt
    @blackyogurt 3 หลายเดือนก่อน

    Great Explanation . thanks

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

    Simple but powerful, thanks and greetings from Colombia!

  • @sanjithaamarathunga9949
    @sanjithaamarathunga9949 3 ปีที่แล้ว +2

    Thank you! Simple and well explained!

  • @user-hs6gz4yn1u
    @user-hs6gz4yn1u 4 หลายเดือนก่อน

    Ur Explanation is simple and understandable,TQ sir

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

    You explained it so well even a 5th grader would get it. Its so easily explained!.

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

    excellent

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

    Thank you. Much love to you from Pakistan

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

      Thanks Shaheer, pls share with friends if you like the content.

  • @kamal_douma
    @kamal_douma 7 หลายเดือนก่อน

    very very good explnation

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

    Great video, thanks for your time!

  • @user-dd3mf2sp7s
    @user-dd3mf2sp7s 2 ปีที่แล้ว

    Great explanation, Thank you!

  • @anshuraghav5620
    @anshuraghav5620 4 หลายเดือนก่อน

    Great video

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

    Thank you sir for very clear explanation with example.. 👍

  • @MyerNore
    @MyerNore 10 หลายเดือนก่อน

    Clearer than my professor, for sure

  • @shaikhuzma786
    @shaikhuzma786 9 หลายเดือนก่อน

    Tqsm sir so well explained ❤

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

    Always to the point...and you dont waste any time actually...

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

    Amazing explanations! THANK YOU !!!
    You are an excellent teacher !!!

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

    Crystal clear

  • @omniscienceisdead8837
    @omniscienceisdead8837 8 หลายเดือนก่อน

    you are the best bro!

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

    very concise and simple explanation.

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

    Its really a simple and good explanation for anybody to understand...thanks for making this simple explanation video.

  • @Felipe90820
    @Felipe90820 6 หลายเดือนก่อน

    Amazing explanation! Congrats and thank you!

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

    Thank you so much. Simple and clean explanation.

  • @anisadillap.7131
    @anisadillap.7131 2 ปีที่แล้ว

    oke i understand, thankyou sir ...

  • @Krishna-pm8ty
    @Krishna-pm8ty 2 ปีที่แล้ว

    Excellent Amen. Perfect explanation👏👏👏

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

    Thanks bro for explaining so perfectly

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

    verry well explained !!!!

  • @MohdRashid-hi7cp
    @MohdRashid-hi7cp ปีที่แล้ว

    Very nice explanation

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

    Perfect explanation. Thank you Aman

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

      Welcome Paul. Your feedback is precious to me.

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

    Very good explanation, thanks

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

    Very well explained sir

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

    Thanks for the very simple and easy to understand explanation

  • @keinestudiere-chillzone633
    @keinestudiere-chillzone633 2 ปีที่แล้ว

    Straight to the point. Thank you

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

    Excellent illustration and explanation.

  • @chrisx742
    @chrisx742 7 หลายเดือนก่อน

    Thank you.

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

    finished watching

  • @theone-jz2rf
    @theone-jz2rf ปีที่แล้ว

    keep up the good work!!!

  • @dbapple
    @dbapple 8 หลายเดือนก่อน

    thank you, straight to the point!

  • @the.quantum.paradox
    @the.quantum.paradox 2 ปีที่แล้ว

    Very simple and easy to understand!

  • @Suno-99
    @Suno-99 5 หลายเดือนก่อน

    beautiful explanation, keep it up

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

    Thank You so much for this video sir

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

    This is very good explanation, thank you Sir....

  • @SACHINKUMAR-px8kq
    @SACHINKUMAR-px8kq 2 ปีที่แล้ว

    Thanks you so much sir

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

    Great, ty!

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

    great and simple explanation, a big clap to ur efforts

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

    thank you

  • @dr.zliiiiii
    @dr.zliiiiii 2 ปีที่แล้ว

    nice video

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

    This is amazing!

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

    Thanks a lot for this simple explenation

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

    Thank you!!

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

    Clearly explained!

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

    super bro

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

    Thank you for your help. Really great explanation!

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

    Awesome ...plain and simple 👍🏼

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

      Glad to hear that Akash 🙂, please share with others as well who could be benefited from such content.

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

    how can i thank you brother . you explained this topic so easily.

  • @user-ur2en1zq4f
    @user-ur2en1zq4f 2 ปีที่แล้ว

    thanks sir

  • @SurajReddy-hx2dx
    @SurajReddy-hx2dx 19 วันที่ผ่านมา

    concept is well explained . But what do we do after this step. You have only calculated the silhouette score for one point. Do we need to calculate for all the points? What is the range of values present for silhouette score? When is it good or bad?

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

    Very well explained!

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

    Nice video Sir thank you. please make an video of EDA sir ..!

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

    Amazing explaination..plz make a video on Dunn index.

  • @christopherlegarda5164
    @christopherlegarda5164 5 หลายเดือนก่อน

    This guy is god!

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

    Hi Aman thanks for this explanation. Please explain about assumptions of k means clustering

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

      Assumption at high level is, you data has clusters and centriods.

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

    thanks

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

    Sir please make a video on PCA . It would be very helpful

  • @subhasisdutta3711
    @subhasisdutta3711 3 ปีที่แล้ว +2

    you have said "Min distance of A1,A2,A3 is the value of b ". Here you are talking about mean value of three or the which one has the minimum value among three , we'll chose it. Please clear it once, if possible

    • @UnfoldDataScience
      @UnfoldDataScience  3 ปีที่แล้ว +2

      HI Subhasis, A1, A2 etc are "mean" Distance from various other clusters ok. Now let's take att these A1 TO AN values and take the minimum from this set. This mimum is b.

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

      @@UnfoldDataScience thanq for the clarification. Have a blessed life ahead

  • @neajinnovations8587
    @neajinnovations8587 10 หลายเดือนก่อน

    I got all the concept clear, but please when is it appropriate to use silhouette distance? it when you have mixed data? or mix data is best for elbow method?

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

    clear

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

    Thank you so much for your explaination. I have a small question: after I got point i ' s silhouette coefficient, I calculate other two points in cluster A, then I take the average of the three silhouette coefficients, let's say it's NO.1. What we can learn from No.1? If No.1 is close to +1, it's good, it means data points in cluster A are most similar to each other, right?

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

    hello sir.. great video i understand this topic very well,, thank you so much...
    just want to ask did you make video of implementation of silhoutte score in python?? if yes plz provide link..

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

      Thanks a lot. Its very simple to do in python - see this link - stackoverflow.com/questions/59919627/how-to-calculate-the-silhouette-score-for-each-cluster-separately-in-python

  • @Live_life_with_no_regrets
    @Live_life_with_no_regrets 6 หลายเดือนก่อน

    is there any way to run it in SPSS? Is it correct if I use the average of the Euclidean distance of the cluster?

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

    Topic is very well explained sir ..
    But should we learn DB Index, Dunn Index, Jaccard score ... or only this Silhouette score is enough

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

    Hi Aman, I do have a general question in clustering -I have heard of people do clustering in the dataset initially and then train separate model for each cluster. my question is lets take an example of telecom churn - there will be many services like internet, Phone, Dish etc. is there anyway we can cluster like internet users in one cluster, phone service in one cluster like that.

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

    hello sir, Plese make a video on the explanation and implementation of ppf,pdf,cdf in python with simple explanation and understanding, I am very confused in this.

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

      pdf cdf video is available Parikshit. Please search in my channel.

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

      @@UnfoldDataScience Thankyou sir❤️

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

    As we have find cohesion and separation for only one point in one cluster A, so we have to find Silhouette score for all points for all points in same cluster so just to ensure that points are correctly clustered ??
    Please explain??

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

    How to get silhouette score for spectral clustering

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

    Thank u for simpler explanation! A question: In our case, it seems that for both clusters, b should be the same unless we have more than two clusters, (or since those clusters are mutually nearest) doesn't it?

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

      I think that’s why we do not calculate silhouettes score for less than 2 cluster

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

    So which score is better? -0.2 or 0.21 ?

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

    Nice video sir. But i have problem when calculate cohesion in cluster just has one data point. How i should set value of cohesion? 0 or 1?

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

      Thats not a good clustering process, clusters need to be reformed.

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

      Thank you sir 🙏

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

    How do I get the amount of data points within the clusters ?

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

      Levels can be found out after clustering then we can count using pandas.

  • @abeerhamid
    @abeerhamid 3 หลายเดือนก่อน

    How can i read the graph of silhouette score? Most important thing you didn't tell

    • @UnfoldDataScience
      @UnfoldDataScience  3 หลายเดือนก่อน

      Positive Scores (close to 1): Samples are well-clustered, and there is good separation between clusters.
      Scores around 0: Samples are on or near the boundary between clusters, indicating potential overlap.
      Negative Scores: Samples are likely in the wrong cluster.

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

    is 0.4 is good silhouette score?

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

    Is 0.39 a bad score?

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

    apki english samajhne me time lg jata hai.. ki aap kya bolna chahte ho

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

    Sir aap hindi me samjhaya karo toh zyada aacha samjha payoge...

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

    apki english me confuse ho jate hai log ki aap kya bolna chahte ho...isko negitive comment ki tarah mt lena...aap samjhate aacha ho pr agar hindi me samjhaoge toh hm logo ko clear samaj ayega