Research Article

A New Hybrid Algorithm for Bankruptcy Prediction Using Switching Particle Swarm Optimization and Support Vector Machines

Algorithm 1

Pseudocode of the SPSO.
(1) Parameter SwarmParaInitialization()
(2) While not satisfying the terminal condition do
(3)  for to swarm numbers do
(4)   evaluate Fitness()
(5)   update Particle Best()
(6)   update Swarm Best()
(7)   if then
(8)     increase the of
(9)   end if
(10)  if then
(11)   increase the of
(12)  end if
(13)  if then
(14)    
(15)  end if
(16) Calculate new Velocity() of the Particle by (7)
(17) Calculate new Position() of the Particle by (7)
(18) end for
(19) end while