Why Matlab forces a sign convention while calculating the PCA coefficients?

3 次查看(过去 30 天)
Hi!
I am applying PCA on my data (Image sequences) but got different results when I used the PCA (Matlab Toolbox) command and doing it manually makind matrix and using SVD command.
After doing some search I found that matlab enforces some some sign conventions in the PCA code on coefficients calculation, Why is that?

回答(1 个)

John D'Errico
John D'Errico 2017-6-23
The eigenvectors computed are entirely arbitrary. You can arbitrarily change the sign and they will be as valid either way. Different schemes to compute the vectors can produce different signs, and in some cases, the sign might even be random.
The sign has ABSOLUTELY NO impact on the result, except for that factor of -1 or not.
So why are you worried about the sign? It is irrelevant.

类别

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