pca function automatically mean-centers
显示 更早的评论
Hi
It looks as if the pca function automatically mean-centers the data. Is this the case and if so how can I override this? I want to center my data using the median or group means.
Thanks Marì
回答(1 个)
Shashank Prasanna
2014-7-3
1 个投票
You are right, by default PCA centers the data. You can however ask PCA not to do that:
Set the name value pair, 'Centered' to false.
类别
在 帮助中心 和 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!