Unsupervised Learning, Machine Learning, K Means, Data, Algorithms.
N samples. Compute the d dimensional mean vector (the mean for every dimension). Compute the covariance matrix of the whole data set. Compute the eigen vectors and the eigen values. Sort the eigen vectors based on decreasing eigen values. Choose only the first k eigen vectors based on how many