Why Matlab forces a sign convention while calculating the PCA coefficients?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (1)
John D'Errico
il 23 Giu 2017
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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!