Research Article

Pruning Growing Self-Organizing Map Network for Human Physical Activity Identification

Algorithm 2

Pruning Growing Self-Organizing Map.
(i)Input: Dataset (X)
Parameter: Spread factor (SF), Iterations, Age threshold (M), R = 2.8, (0) = 1
Process:
(1)initialize the network as shown in Figure 3and set SF with an interval of (0, 1), all the age of neurons set 0, calculating the GT according to (1), set iteration=0
(2)while iterationiterations do
(3)  for x in random subset from X
(4)   present the input sample x (t) to the Neuron distribution map
(5)   get the winner by (1) and (2), update the CEQ of winner by (3)
(6)   update the weights of competitive neurons by (4) and (5)
(7)    if the CEQ of winnerGT as (6) and winner is at the boundary
(8)   carry out growth operation by7and8and Figure 3
(9)   end if
(10)   update the age of competitive neurons by (9)
(11)   prune the network by (10) and (11)
(13)  end for
(14)  iteration=iteration +1
(15)end while
Output: Neuron distribution map (Φ)