Research Article
Direct Neighborhood Discriminant Analysis for Face Recognition
Algorithm 1
DNDA algorithm.
Input: Data matrix class label L | Output: Transformed matrix | 1. Construct the between-class and the within-class
affinity weight matrix , . | 2. Construct the interclass and the intraclass index matrix Hs, Hc according to the nonzero elements | of , . | For the kth nonzero element of ,
the corresponding kth column in is | constructed as | | 3. Apply eigenvalue decomposition to Ss and keep the largest t nonzero eigenvalues | and corresponding eigenvectors after sorted in decreasing | order, where | 4. Compute Ps as where is diagonal matrix with on the | main diagonal. | 5. Perform eigenvalue decomposition on .
Let be the | eigenvalue matrix of in ascending order and be the corresponding | eigenvector matrix. Calculate Pc as | 6. |
|