Machine Learning, Clustering, Data Science, Unsupervised Learning, Towards Data Science.
find the optimal number of clusters for any given data set. A simple approach is to compare the results of multiple runs with different k classes and choose the best one according to a given criterion, but we need to be careful because increasing k results in smaller error function values by