博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Principal Component Analysis(PCA) algorithm summary
阅读量:7005 次
发布时间:2019-06-28

本文共 340 字,大约阅读时间需要 1 分钟。

Principal Component Analysis(PCA) algorithm summary

  • mean normalization(ensure every feature has sero mean)
  • Sigma = 1/m∑(xi)(xi)T
  • [U,S,V] = svd(Sigma) 
  • ureduce = u(:,1:K)
  • Z = ureduce ' * X

  Pick smallest value of k for which 

  ∑ki=1 Sii / ∑i=mi=1 Sii  >= 0.99  (99% of variance retained)

  

转载于:https://www.cnblogs.com/ChenAlong/p/5128135.html

你可能感兴趣的文章