[COEFF,SCORE] = princomp(X); Why is SCORE != X * COEFF ???
이전 댓글 표시
Hi All,
I'm using PCA.
[COEFF,SCORE] = princomp(X);
My understanding of the help is that the COEFF matrix can be used to transform the inputs stand alone. However I am finding that
SCORE != X * COEFF
Any ideas?
답변 (1개)
Peter Perkins
2012년 8월 21일
0 개 추천
Hi Stewart -
You forgot to center the data first: "princomp centers X by subtracting off column means".
Hope this helps.
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!