Elbow Graph below shows the different results by using different number of bins. From both elbow we can conclude that the optimal number of k value is 4.
By using number of Bins = 2
Number of Bins = 3
Example of code for Elbow Method
By using Sillhoutte Score, we can see that at number of bins 3, the more number of cluster, the total score become lower. However, for number bins of 2, the total scores are maintain at starting from cluster 6 until 10.
Number of Bins = 2
Number of Bins = 3
Example of code for Silhouette Score
Scatter plot below shows the result of 4 cluster by using different number of bins.
This scatter plot are made of 4 cluster by using number of bins equal to 2.
This scatter plot are made of 4 cluster by using number of bins equal to 3.