How is the complexity of PCA O(min(p^3,n^3))?

前端 未结 3 492
旧时难觅i
旧时难觅i 2021-02-04 04:48

I\'ve been reading a paper on Sparse PCA, which is: http://stats.stanford.edu/~imj/WEBLIST/AsYetUnpub/sparse.pdf

And it states that, if you have n data poin

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-04 05:18

    Covariance matrix computation is O(p2n); its eigen-value decomposition is O(p3). So, the complexity of PCA is O(p2n+p3).

    O(min(p3,n3)) would imply that you could analyze a two-dimensional dataset of any size in fixed time, which is patently false.

提交回复
热议问题