Research Article
A Hierarchical Framework for Facial Age Estimation
Algorithm 1
Algorithm flowchart of SKNN.
Input: Train set with samples | Test sample | Output: age label of the testing sample | Initialization: , , , | Discipline: | (1) Map age label into category label for all training samples | | (2) Calculate the distance between test sample and all train samples | | (3) Sort top smallest distances from , | then record their corresponding category label . | (4) Compute the sample number belonging to different categories . | | (5) Select the category label with the maximum number , then map inversely the | category label label into age label . | | (6) Output |
|