K-Means is a supervised learning algorithm widely used in data mining. Its primary goal is to partition a dataset into distinct groups, or groups, based on the similarity of their features. Each point in the dataset is assigned to a specific cluster, with the aim of minimizing the distance between points within each cluster and maximizing the diffe