/ML-PCA

Matlab/Octave program to run a PCA algorithm on a demo dataset and on images of faces

Primary LanguageMATLAB

ML-PCA

Matlab / Octave program to implement a PCA algorithm on a demo data set and pictures of faces

PCA_demo.mat - script that runs an exemple of PCA reduction algorithm on a simple demo dataset faces_PCA.m - script to run PCA dimensional reduction and recovery on pictures of faces demo_data.mat - simple demo dataset displayData.m - Displays 2D data stored in a matrix drawLine.m - Draws a line over an exsiting gure faces.mat - pictures of faces featureNormalize.m - normalizes features pca.m - Perform principal component analysis projectData.m - Projects a data set into a lower dimensional space recoverData.m - Recovers the original data from the projection