I am trying to implement PCA from scratch. Following is the code:
sc = StandardScaler() #standardization X_new = sc.fit_transform(X) Z = np.divide(np.dot(X_new.T