## What is K-Means Clustering?

Definition: K-Means Clustering is an unsupervised machine learning algorithm that divides the observations into “K” number of clusters by grouping the data points together. K is the number of centroids that we need in a dataset. Every cluster has a centroid representing the center of a cluster. The algorithm allocates each data point to the …