Research Article

Identification of Partitions in a Homogeneous Activity Group Using Mobile Devices

Algorithm 3

Adjust window size.
Input: training set of time series from mobile devices under activity , scoring function , decision threshold , set
  of candidate sensing modalities
Output: with adjusted window sizes
(1) for    do
(2)   if    then
(3)    for    do
(4)     
(5)     ;
(6)    end for
(7)    if    then
(8)     ;
(9)     ;
(10)  end if
(11)  end if
(12) end for