K Means, Kernel Trick, Clustering, Unsupervised Clustering, Data Science.
the first and second column of the XBDBᵀ matrix will be the cluster centroid of cluster 1 and cluster 3, respectively. And so this pattern continues for all the data points, yielding a matrix the same dimension as X (M by N). Put it all together to get the vectorized objective of K-Means! The