What's wrong with my PCA?

前端 未结 0 1670
执念已碎
执念已碎 2021-02-14 23:16

My code:

from numpy import *

def pca(orig_data):
    data = array(orig_data)
    data = (data - data.mean(axis=0)) / data.std(axis=0)
    u, s, v = linalg.svd(d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题