csci5521/assignments/hwk02/Problem2/Eigenfaces.m

12 lines
318 B
Mathematica
Raw Normal View History

2023-10-12 23:51:06 +00:00
% implements Eigenfaces, returns nothings but displays a plot of the first
% 5 eigenvectors
function [] = Eigenfaces(training_data, test_data)
% stack data
data = vertcat(training_data, test_data);
% TODO: perform PCA
% TODO: show the first 5 eigenvectors (see homework for example)
end % Function end