Learn Before
Concept
Steps Involved in the PCA
This article uses a small dataset to show how PCA works steps by steps, it has the same result with sklearn library.
- Step 1: Standardize the dataset.
- Step 2: Calculate the covariance matrix for the features in the dataset.
- Step 3: Calculate the eigenvalues and eigenvectors for the covariance matrix.
- Step 4: Sort eigenvalues and their corresponding eigenvectors.
- Step 5: Pick k eigenvalues and form a matrix of eigenvectors.
- Step 6: Transform the original matrix.
0
4
Updated 2021-02-10
Contributors are:
Who are from:
Tags
Data Science
Related
Visualizing PCA
Helpful video explaining dimensionality reduction/PCA
Deciding How Many Principal Components to Use
What are Principal Components?
Concept of Interesting
The Proportion of Variance Explained
Steps Involved in the PCA
Probabilistic PCA
Global vs. Local Structure Preservation in Dimension Reduction