This repository contains python implementation of PCA, LDA and FDA from scratch on MNIST dataset. Noise removal effect of PCA is also depicted visually.
MNIST
Steps taken:
- Finding the global mean and covariance of data.
- Implementation of PCA, FDA and LDA from scratch.
- Visualize and analyze the eigenvectors obtained using PCA with 95% eigen energy.
- Finding accuracies at different values of eigen energies.
- Displaying eigenvectors by converting them into image form
- Performing FDA then LDA.
- Performing PCA then FDA.
Just enter path to the idx train test files in the code.