Now define the "fit" method that takes in that data and calculates the mean, normalizes the data, computes the covariance matrix, eigenvalues, and eigenvectors. Then the Eigenvectors are sorted based on eigenvalues. You may ask how, eigen vectors does dimensionality reduction?
Fit Method: Computing Eigenvalues, Eigenvectors, and Dimensionality Reduction
By
–
Leave a Reply