Mathematical Problems in Engineering / 2014 / Article / Alg 1

Research Article

Image Classification Using PSO-SVM and an RGB-D Sensor

Algorithm 1

PSO algorithm.
(1) repeat
(2)  Calculate fitness value of each particle using the fitness function
(3)  Update local best if the current fitness value is better
(4)  Determine global best: take the best fitness particle and compare it to current best
(5)  For each particle
(6)  Calculate particle velocity according to (1)
(7)  Update particle position according to (2)
(8) until Stop criteria is met