필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
Numi_Pk
Numi_Pk 2017년 6월 23일
답변: John D'Errico 2017년 6월 23일
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