1 1 vote how to choose the number of clusters based on intertia and based on silhouette using K-means Machine Learning k-means clustering + – 0% Accept Rate Accepted 0 answers out of 8 questions Neo 660 points 10 12 17 answer comment Share 0 reply Please log in or register to add a comment.
0 0 votes Having these different approaches to determine a convenient value of k (number of clusters) should help to narrow down the options for $k$, however, we cannot make sure the value we select finally is the best or not. For example, if silhouette measure is closer to 1 when $k=5$ and for Inertia we have the "elbow" or "knee" around $k=4$ to $k= 6$, probably one of the values of 4, 5, or 6 might be a good value for the number of clusters. These two methods together help us have some estimations for the number of clusters but they do not guarantee it. tofighi answered Oct 21, 2018 tofighi 116k points 73 79 101 comment Share See all 2 Comments 2 2 Comments reply Neo 660 points 10 12 17 commented Oct 22, 2018 reply flag That makes sense. But I am wondering if you can guide me on what is silhouette method and what is elbow method 0 0 replyShare tofighi 116k points 73 79 101 commented Oct 22, 2018 reply flag Please check out the following links: http://scikit-learn.org/stable/auto_examples/cluster/plot_kmeans_silhouette_analysis.html and for inertia and see how you can choose it based on "knee" or "elbow", please check the following link: https://stackoverflow.com/a/41525972 0 0 replyShare Please log in or register to add a comment.