Research Article
Feature Selection Method Based on Artificial Bee Colony Algorithm and Support Vector Machines for Medical Datasets Classification
Pseudocode 2
Pseudo-code of the ABC algorithm [
24].
(1) Load training samples | (2) Generate the initial population , | (3) Evaluate the fitness of the population | (4) set cycle to 1 | (5) repeat | (6) FOR each employed bee { | Produce new solution by using (6) | Calculate the value | Apply greedy selection process} | (7) Calculate the probability values for the solutions by (5) | (8) FOR each onlooker bee { | Select a solution depending on | Produce new solution | Calculate the value | Apply greedy selection process} | (9) If there is an abandoned solution for he scout | then replace it with a new solution which will | be randomly produced by (7) | (10) Memorize the best solution so far | (11) cycle = cycle + 1 | (12) until cycle = MCN |
|