Skip to content

This repository contains python implementation of PCA, LDA and FDA from scratch. Noise removal effect of PCA is also visualized.

Notifications You must be signed in to change notification settings

suryanktiwari/PCA-LDA-FDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCA LDA FDA

This repository contains python implementation of PCA, LDA and FDA from scratch on MNIST dataset. Noise removal effect of PCA is also depicted visually.

Dataset used:

MNIST

Steps taken:

  1. Finding the global mean and covariance of data.
  2. Implementation of PCA, FDA and LDA from scratch.
  3. Visualize and analyze the eigenvectors obtained using PCA with 95% eigen energy.
  4. Finding accuracies at different values of eigen energies.
  5. Displaying eigenvectors by converting them into image form
  6. Performing FDA then LDA.
  7. Performing PCA then FDA.

Instructions

Just enter path to the idx train test files in the code.

About

This repository contains python implementation of PCA, LDA and FDA from scratch. Noise removal effect of PCA is also visualized.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages