Does PCA apply on the raw data or the data needs to be pre-normalized before applying pca function?

조회 수: 28 (최근 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
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.
Salad Box
Salad Box 2019년 3월 1일
Thanks for your reply. Seems there is no harm normalizing the data at the beginning. :)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by