PCA: number of attributes much bigger than number of data samples
显示 更早的评论
Hello, I would like to apply PCA analysis to data in which I have 100 samples, each of them represented by 10000 variables. So we have the following situation: [m n] = size(myData); m = 100 n = 10000
In such case calling PCA this way:
[pc,score,latent,tsquare] = princomp(zscore(myData));
returns score and latent of only m-1=99 components. Everything above index 99 is equal to 0. Why? Can I trust those values returned by above function?
Thank you for any help. Michael
采纳的回答
更多回答(1 个)
Arturo Moncada-Torres
2011-8-24
0 个投票
I recommend you to look at this great tutorial by Will Dwinnel. I think you will find everything you need here.
类别
在 帮助中心 和 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!