K-means clustering in machine learning