Semi-Supervised Ensemble Classifier with Improved Sparrow Search Algorithm and Its Application in Pulmonary Nodule Detection
Algorithm 1
The framework of the SCA-CSSA.
Input: the maximum iterations: ; the number of producers: ; the number of sparrows who perceive the danger: ; the number of sparrows: ; dynamic parameter: ;
Output: global optimal position: ; fitness of global optimal position: ;
Begin:
(1)
Initialize a population of sparrows and define its relevant parameters.
(2)
while
(3)
Rank the fitness values and find the current best individual and the current worst individual.
(4)
(5)
for
(6)
Using formula (16), update the sparrow’s location;
(7)
end for
(8)
for
(9)
Using formula (17), update the sparrow’s location;
(10)
end for
/ the new division of labor structure scheme /
(11)
Using formulas (18) and (19), update the producer and scrounger’s cooperative location;
(12)
If the new location is better than before, update it use formula (20);