Research Article
Identification of Partitions in a Homogeneous Activity Group Using Mobile Devices
Algorithm 4
Probability-based clustering algorithm.
Input: test set of time series on mobile devices under activity , selected sensing modalities in each set of time series, | probability threshold | Output: device groups in each group identification time window | (1) Each mobile device uses its local time series to compute the PDFs for each selected sensing modality according to its window | size; | (2) The server or sink node collects the PDFs from all the mobile devices once in each group identification time window and run | the following process: | (3) Initialize group affiliation matrix ; | (4) for each device pair do | (5) ; | (6) for do | (7) Compute ; | (8) if then | (9) ; | (10) end if | (11) end for | (12) Compute ; | (13) if then | (14) ; | (15) else | (16) ; | (17) end if | (18) end for | (19) Apply DJ-Cluster algorithm on matrix ; |
|