Research Article

Arithmetic Optimization with RetinaNet Model for Motor Imagery Classification on Brain Computer Interface

Algorithm 1

Pseudocode of AOA.
Input: the parameter of AOA includes overall quantity of iterations , dynamic exploitation variable (), and number of agent (N).
Generate the primary value for the agent , while do
 Calculate the fitness function for all the agents.
 Define the optimal agent
 Upgrade the and using equations (11) and (13),
 for to do
  for to do
   Upgrade the values of , and
   if then
    Exploration stage
    Employ equation (12) to upgrade the
   else
    Exploitation stage
    Employ equations (14) to upgrade the
   end if
  end for
 end for
     
end while
Display the optimal agent .