Does PCA apply on the raw data or the data needs to be pre-normalized before applying pca function?
13 次查看(过去 30 天)
显示 更早的评论
Hi,
According to the link below,
coeff = pca(X)
I'm wondering whether this X is raw data or the raw data being normalized? Is it essential to normalize the raw data before feed into pca function?
2 个评论
Adam
2019-2-26
It depends what you want to interpret from it. It isn't compulsory to normalise data but as with any statistical operation on multiple observations, if the ranges of the inputs are significantly different it will skew your results in that same way. The resulting principal components will be within the context of the input data you give it though so if you normalise then the principal components will reflect that and if you don't then they will likewise reflect the raw data - so you would have eigenvalues that are very skewed by larger data ranges.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!