12 lines
318 B
Mathematica
12 lines
318 B
Mathematica
|
% 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
|