Implement PCA and LDA from scratch. Classify the dataset as it is and use the same classification algorithm for the parts below. Use Linear discriminant analysis (LDA) to find out the best projection directions. Project your data on the new projection matrix given by LDA. Classify the projected data using 5 fold cross-validation, report the mean and standard deviation of classification accuracy. Use the best model, to classify the test set and plot the ROC curve and confusion matrix. Perform PCA on the same data by preserving 95% eigen energy and report the mean accuracy and standard deviation over the 5 folds.Compare and analyze the results obtained by PCA and LDA. Visualise and analyse the eigenvectors obtained using PCA If you perform LDA on the PCA projected data, find out the classification performance for both the databases.
Devashi-Choudhary/Feature_Reduction
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published