Research Article
Feature Selection on Elite Hybrid Binary Cuckoo Search in Binary Label Classification
Algorithm 3
Elite selection and crossover operators.
Input: population with nests, number of dimensions (features) , crossover rate , fitness function | Output: New population after elite selection and crossover | fordo | p()=, ; | fordo | Generate a random number from [0,1]; | if () then | Select the ; | else | ifthen | Select the ; | end | end | end | end | Train the classifier to evaluate accuracy of ; | Calculate the fitness function value and store it in ; | ; | ; | ; | Two nests in the population are paired at random for each pair except , such as and | if () then | Generate a random integer r in (1,d) with one-point crossover between two individuals ; | ; | end | The crossed nests and Bestness form a new population as output |
|