Data Science, Machine Learning, Programming, Data Analysis, K Means Clustering.
their centres. SSE or Sum of Squared Errors of a cluster is the sum of squared distances between its centre and its points. Using calculus, one can prove that the best way to minimize the SSE is to move the cluster centre to the centroid (=average) of all points in the cluster. We re-assign the