Intro to Business Analytics
K-means clustering is a popular unsupervised machine learning algorithm used to partition a dataset into 'k' distinct, non-overlapping groups based on their features. The algorithm works by assigning data points to the nearest cluster center, which is calculated as the mean of all points in that cluster, and iteratively updates the clusters until convergence. This method is widely used in predictive modeling to discover inherent groupings within data, making it easier to analyze patterns and trends.
congrats on reading the definition of k-means clustering. now let's actually learn it.