I am trying to understand PCA and K-Means algorithms in order to extract some relevant features from a set of features.