-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.txt
47 lines (33 loc) · 998 Bytes
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
1. run the code:
in Main.m, execute each code section respectively
2. image and accuracy data are generated in /data/output folder
3. face dataset should be put in /data/AgeFaceDataset/ folder
a brief introduction of the project code structure is give:
-- data
-- AgeFaceDataSet
-- output
-- train.txt
-- test.txt
-- src
-- ReadData.m
-- DisplayFace.m
-- NFM.m
-- PCA.m
-- LDA.m
-- GMM.m
-- Main.m
-- ReadData.m
auxilary function for reading data. It can read data into data matrix.
-- DisplayFace.m
display feature vector as face \& rescale pixel value to 0-255.
-- NFM.m
learning Nonegative Matrix Factorization with 50 bases (bases can be reset,
support random initialization)
-- PCA.m
do PCA decompostion and reconstruction, support choosing number of PCs
-- LDA.m
do LDA basis finding
-- GMM.m
finding GMM Model using EM algorithm
-- Main.m
All subtasks are organized into sections