K-Means is a clustering learning algorithm widely used in data mining. Its primary goal is to partition a dataset into clustered groups, or groups, based on the similarity of their features. Each instance in the dataset is assigned to a single cluster, with the aim of minimizing the difference between points within each cluster and maximizing the d