[SOLVED] SML Assignment 2-DIMENSIONALITY REDUCTION

35.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (1 vote)

  1. Use the MNIST digit recognition dataset having 10 classes for the purpose of this assignment.

Dataset (MNIS​ T)​

Perform the following tasks:

  1. Compute the global mean and covariance of the data.
  2. Implement PCA and FDA from scratch.
  3. Visualize data using a scatter plot after applying PCA & FDA. (You can transform the data into 2 dimensions and then plot it.)
  4. Implement the LDA discriminant function from scratch.
  5. Apply PCA with 95% eigen energy on MNIST and then LDA for classification and report the accuracy on test data.
  6. 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).
  7. 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
  1. Apply FDA on MNIST and then LDA for classification and report the accuracy on test data.
  2. Perform PCA then FDA. Classify the transformed datasets using LDA. Analyze the results on Accuracy.

 

NOISE REDUCTION

  1. Perform the following steps on the given dataset:
  2. 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.)
  3. Perform PCA on the noisy dataset for Noise Reduction.
  4. Visualize the dataset before & after noise reduction. (Report the images as shown below. Linear PCA in the below image refers to normal PCA only.).
  5. Report the number of components for which PCA works the best in Noise Reduction.

 

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.