Research Article

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

Algorithm 2

Algorithm of hybrid PSO.
Initialize n as swarm population
For each I in n,
  Initialize each swarm particles xi
While i ! = n
   For i =1 to n
    Calculate fitness function using equ (1)
    Calculate the personal best
    Calculate the global best
    Perform crossover(gbest)
   For i =1 to n
    Calculate updated velocity using equ (2)
    Calculate updated positition using equ (3)
End