CS306 Data Analysis and Visualization Winter, 2019: Lab. 7 MNIST Dataset For Dimensionality Reduction Using PCA
CS306 Data Analysis and Visualization Winter, 2019: Lab. 7 MNIST Dataset For Dimensionality Reduction Using PCA
1. In this practical, we have MNIST dataset to explore. You will surely enjoy this
from 0 - 9. There are two folders present in MNIST folder. For this practical first we
1. In this first step we will prepare data for PCA. Read each png file as a sample
with 784 (28x28) features. Each pixel value represents a feature. You may
have class label in the data file but it will not be part of the feature vector.
2. Carry out PCA on prepared data file and find the number of PC’s and
3. Now encode 10 test images of each class with the identified PC’s. You will
4. Also decode the encoded feature vectors and reconstruct it back as 28x28
image.
5. Compute and report RMSE error for each class and different levels of
RMS errors. (Rows for each class and columns for different number of PC’s