å
¶å®æä¸ä¸ªå¾å°çtrick解å³è¿ä¸ªé®é¢ãå¯ä»¥è®©ç©éµç维度大大éä½ã
å设x为m*nçmatrix, m >> n
S = x*x', PCAéè¦è®¡ç®Sæ大çk个ç¹å¾å¼ä»¥å对åºçç¹å¾åéãä½æ¯m*m维度太大ï¼æ æ³ç´æ¥æ±è§£ã
Let C = xâ*x, Cv = av, a 为eigenvalueï¼v为eigenvectorï¼then x*Cv=x*x'*xv = ax*v, ie, S*(xv) = a*(xv)
æ以å设(a v)æ¯Cçeigenvalue and eigenvectorï¼é£ä¹(a, xv) æ¯Sçeigenvalue and eigenvector
楼主ä¾åä¸m = 262144,åè®¾ä½ æ1000å¼ å¾çï¼n = 1000ï¼é£ä¹æå¤åªéè¦è®¡ç®ä¸ä¸ª1000*1000çç©éµçeigenvalue and eigenvectorï¼è®¡ç®éä¸ç¥å°å°åªéå»äºã
温馨提示:答案为网友推荐,仅供参考