I have tried reading a number of references about PCA and I found the difference. Some references writes this algorithm :
- Prepare the initial data (m x n)
- Calculate the Mean
- Subtract the initial data with the mean
- Calculate the covariance
- Calculate eigenvalue and eigenvector
- The result data transformations (m x k)
and several other references write this algorithm :
- Prepare the initial data (m x n)
- Calculate the Mean
- Calculate the standard deviation
- Count z-score = ((initial data - mean)/standard deviation)
- Calculate covariance
- Calculate eigenvalue and eigenvector
- The result data transformations (m x k)
I'm confused which one is the correct algorithm. Anyone can explain when to use each of these algorithms?
Thank for your help