|
Algorithm 2 Initialization function. |
-
1:
input:; ▹ The number of particles for each group ,
-
2:
output:; ▹ initialized particles
-
3:
for to
do
-
4:
for
to d
do
-
5:
sample from ; ▹ use uniform distribution
-
6:
end for
-
7:
end for
-
8:
calculate a score vector; ▹ use score function of feature filter
-
9:
calculate a standard deviation; ▹ use Equation (4)
-
10:
-
11:
for to
do
-
12:
for
to d
do
-
13:
sample from ; ▹ use Gaussian distribution
-
14:
end for
-
15:
end for
|