Principal Component Analysis (Princomp)
显示 更早的评论
I am using the function princomp and I obtain different results(i.e. SCORES) when I am using Matlab 2009b and Matlab 2012b. Does anyone know why this difference?Thank you in advance.
1 个评论
Shashank Prasanna
2013-1-22
Check the release notes to see if there have been any differences:
回答(1 个)
Tom Lane
2013-1-24
0 个投票
Are there just some columns whose signs differ between the two SCORES matrices? That can happen as a result of a change in svd or some other MATLAB matrix computation, and it should not affect your results. For example, the first component is the linear subspace of maximum variance, but you can represent that line by a vector pointing in either direction from the origin.
类别
在 帮助中心 和 File 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!