Loading topic
X that has samples as rows and features as columns. You also need basic NumPy.2 min readsklearn.decomposition.PCA, which does the same work behind a standard interface.2 min readnp.cov and eigh. Here you will get the same result from the singular value decompositi3 min readPCA in scikit-learn, read explained variance, and know that PCA finds linear directions of maximum variance from the centered data. Each method below changes one assumption of plain PCA.2 min read