- Use the MNIST digit recognition dataset having 10 classes for the purpose of this assignment.
Perform the following tasks:
- Compute the global mean and covariance of the data.
- Implement PCA and FDA from scratch.
- Visualize data using a scatter plot after applying PCA & FDA. (You can transform the data into 2 dimensions and then plot it.)
- Implement the LDA discriminant function from scratch.
- Apply PCA with 95% eigen energy on MNIST and then LDA for classification and report the accuracy on test data.
- Visualize and analyze the eigenvectors obtained using PCA (only for eigenvectors obtained in part(e). I.e., Display eigenvectors by converting them into image form).
- Perform step(e) with different eigen energy mentioned below and show the comparisons and analysis on accuracy.
- 70% eigen energy
- 90% eigen energy
- 99% eigen energy
- Apply FDA on MNIST and then LDA for classification and report the accuracy on test data.
- Perform PCA then FDA. Classify the transformed datasets using LDA. Analyze the results on Accuracy.
NOISE REDUCTION
- Perform the following steps on the given dataset:
- Add Gaussian noise to the dataset. (NOTE: You can take mean=0 and variance can be varied upon your choice such that the noise reduction can be seen clearly from the image.)
- Perform PCA on the noisy dataset for Noise Reduction.
- Visualize the dataset before & after noise reduction. (Report the images as shown below. Linear PCA in the below image refers to normal PCA only.).
- Report the number of components for which PCA works the best in Noise Reduction.
Reviews
There are no reviews yet.