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 iteration < iterations 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 winner≥GT as (6) and winner is at the boundary