K Means, Kernel Trick, Clustering, Unsupervised Clustering, Data Science.
matrix with the same dimension as X, where each column is the respective centroid of the cluster the data point is assigned to. Figure 9: Matrix where each column corresponds to the cluster centroid of the assigned cluster. For example, if data point 1 and 2 are assigned to clusters 1 and 3, then