|
Algorithm 2 Initialization function |
-
1:
input:m; ▹ the number of sub-populations m
-
2:
output:; ▹ the initial sub-populations
-
3:
for each feature do ▹ the original feature set F
-
4:
if
then
-
5:
;
-
6:
end if
-
7:
end for
-
8:
patition F into m clusters; ▹ use the spherical k-means algorithm
-
9:
for to m
do
-
10:
for each individual
do
-
11:
initialize by selecting n features via stochastic sampling; ▹ use Equation (1)
-
12:
end for
-
13:
end for
|