12 lines
No EOL
318 B
Matlab
12 lines
No EOL
318 B
Matlab
% 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 |