journal article·2022-07-26Open access

AutoElbow: An Automatic Elbow Detection Method for Estimating the Number of Clusters in a Dataset

Adeiza James Onumanyi, Daisy Nkele Molokomme, Sherrin John Isaac, Adnan M. Abu-Mahfouz

Applied Sciences· Volume 12· Issue 15

Abstract

The elbow technique is a well-known method for estimating the number of clusters required as a starting parameter in the K-means algorithm and certain other unsupervised machine-learning algorithms. However, due to the graphical output nature of the method, human assessment is necessary to determine the location of the elbow and, consequently, the number of data clusters. This article presents a simple method for estimating the elbow point, thus, enabling the K-means algorithm to be readily automated. First, the elbow-based graph is normalized using the graph’s minimum and maximum values along the ordinate and abscissa coordinates. Then, the distance between each point on the graph to the minimum (i.e., the origin) and maximum reference points, and the “heel” of the graph are calculated. The estimated elbow location is, thus, the point that maximizes the ratio of these distances, which corresponds to an approximate number of clusters in the dataset. We demonstrate that the strategy is effective, stable, and adaptable over different types of datasets characterized by small and large clusters, different cluster shapes, high dimensionality, and unbalanced distributions. We provide the clustering community with a description of the method and present comparative results against other well-known methods in the prior state of the art.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Clustering Algorithms Research · Anomaly Detection Techniques and Applications · Data Stream Mining Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Next Generation Enterprises and Institutions, Council for Scientific and Industrial Research, Pretoria 0001, South Africa

Department of Electrical and Electronic Engineering Science, University of Johannesburg, Johannesburg 2006, South Africa

Funding

The Council for Scientific and Industrial Research (CSIR)

References (22)

Show source-provided references
1. Li, C., Kulwa, F., Zhang, J., Li, Z., Xu, H., and Zhao, X. (2020). A Review of Clustering Methods in Microorganism Image Analysis. Advances in Intelligent Systems and Computing, Springer International Publishing.10.1007/978-3-030-49666-1_2 ↗
2. Smart meter data clustering using consumption indicators: Responsibility factor and consumption variability10.1016/j.egypro.2017.12.624 ↗
3. Hayatu, H.I., Mohammed, A., and Isma’eel, A.B. (2021). Big Data Clustering Techniques: Recent Advances and Survey. Machine Learning and Data Mining for Emerging Trend in Cyber Dynamics, Springer International Publishing.
4. Machine learning in the analysis of biomolecular simulations
5. Torkzadeh, L., Jalilian, H., Zolfagharian, M., Torkzadeh, H., Bakhshi, M., and Khodayari-Zarnaq, R. (2021). Market segmentation in the health tourism industry: A systematic review of approach and criteria. J. Policy Res. Tour. Leis. Events, 1–20.10.1080/19407963.2021.1988622 ↗
6. Ghosal, A., Nandy, A., Das, A.K., Goswami, S., and Panday, M. (2019). A Short Review on Different Clustering Techniques and Their Applications. Advances in Intelligent Systems and Computing, Springer.10.1007/978-981-13-7403-6_9 ↗
7. Detecting communities using social network analysis in online learning environments: Systematic literature review10.1002/widm.1431 ↗
8. Dinh, D.T., Fujinami, T., and Huynh, V.N. (2019). Estimating the optimal number of clusters in categorical data clustering by silhouette coefficient. International Symposium on Knowledge and Systems Sciences, Springer.10.1007/978-981-15-1209-4_1 ↗
9. Estimating the number of clusters in a data set via the gap statistic10.1111/1467-9868.00293 ↗
10. Distances, metrics and cluster analysis10.3103/S0147688212060020 ↗
11. Granville, V. (2022, July 26). How to Automatically Determine the Number of Clusters in Your Data—And More. Available online: https://www.datasciencecentral.com/how-to-automatically-determine-the-number-of-clusters-in-your-dat/.
12. Kaplan, D. (2022, July 26). Knee Point. Software, 2022. MATLAB Central File Exchange. Available online: https://www.mathworks.com/matlabcentral/fileexchange/35094-knee-point.
13. Satopaa, V., Albrecht, J., Irwin, D., and Raghavan, B. (2011, January 20–24). Finding a “kneedle” in a haystack: Detecting knee points in system behavior. Proceedings of the 2011 31st International Conference on Distributed Computing Systems Workshops (ICDCSW), Minneapolis, MN, USA.10.1109/ICDCSW.2011.20 ↗
14. Diao, W., Saxena, S., Han, B., and Pecht, M. (2019). Algorithm to Determine the Knee Point on Capacity Fade Curves of Lithium-Ion Cells. Energies, 12.10.3390/en12152910 ↗
15. A quantitative discriminant method of elbow point for the optimal number of clusters in clustering algorithm10.1186/s13638-021-01910-w ↗
16. Salvador, S., and Chan, P. (2004, January 15–17). Determining the number of clusters/segments in hierarchical clustering/segmentation algorithms. Proceedings of the 16th IEEE International Conference on Tools with Artificial Intelligence, Boca Raton, FL, USA.
17. Zhao, Q., Hautamaki, V., and Fränti, P. (2008). Knee point detection in BIC for detecting the number of clusters. International Conference on Advanced Concepts for Intelligent Vision Systems, Springer.10.1007/978-3-540-88458-3_60 ↗
18. K-means with Three different Distance Metrics
19. Pakhira, M.K. (2014, January 14–16). A linear time-complexity k-means algorithm using cluster shifting. Proceedings of the 2014 International Conference on Computational Intelligence and Communication Networks, Bhopal, India.10.1109/CICN.2014.220 ↗
20. Gionis, A., Mannila, H., and Tsaparas, P. (2005, January 5–8). Clustering Aggregation. Proceedings of the 21st International Conference on Data Engineering (ICDE’05), Tokoyo, Japan. Number 2375-026X.
21. Barton, T. (2022, June 08). Clustering Benchmarks. Available online: https://github.com/deric/clustering-benchmark.
22. Janosi, A., Steinbrunn, W., Pfisterer, M., and Detrano, R. (2022, July 19). Available online: https://archive.ics.uci.edu/ml/datasets/heart+disease.