comparing results of PCA and NNMF - what percentage of the original data's variance is retained?
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a big data matrix (100000*200) on which I performed PCA. Luckily PCA works great and only 4 variables recover ~95% of the variance. The way I got this is that I used the command:
cumsum(latent)./sum(latent)
as the example shows on matlab's PCA website (<http://www.mathworks.co.uk/help/stats/princomp.html)>. However for various reasons I want to do non-negative matrix factorisation on the same data matrix. My question is that how can I make an apples-to-apples comparison between the results of PCA and NNMF? That is how can I calculate the percentage of the original data's variance retained after NNMF?
Shall I just add up the variances of the variables and compare it to the same quantity of the original data? If I do that will that give me the same result as the command above in the case of PCA?
best regards, b
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!