Machine-Learning-in-Action-Python3
Machine-Learning-in-Action-Python3 copied to clipboard
PCA_Project2里面
def replaceNaNWithMean(): 里面应该是这个⑧ meanVal = np.mean(datMat[np.nonzero(~np.isnan(datMat[:, i].A))[0], i])