The point is that c^{(i)} is the index of the cluster to which the i-th sample is assigned. So the value of c^{(i)} is a number between 0 and k-1, but there are m such values: one for every sample, right?
1 Like