Research Article

Prediction of the Age and Gender Based on Human Face Images Based on Deep Learning Algorithm

Algorithm 1

Algorithm for particle swarm optimization.
Initialize n as swarm population
For i > n
 Initialize each swarm particles xi
While i ! = n
   For i =1 to n
     Calculate fitness function using equ (1)
     If f(x) >
        = f(x)
     If >
        =
   For i =1 to n
     Calculate updated velocity using equ (2)
     Calculate updated position using equ (3)
End