Machine Learning, Clustering, Data Science, Unsupervised Learning, Towards Data Science.
function, in this case a squared error function. The objective function where is a chosen distance measure between a data point xi and the cluster centre cj, is an indicator of the distance of the n data points from their respective cluster centres. The algorithm is composed of the following steps: