Research Article
Enabling Clustering for Privacy-Aware Data Dissemination Based on Medical Healthcare-IoTs (MH-IoTs) for Wireless Body Area Network
Algorithm 1
Pseudocode for K-medoid algorithm.
(1) | Initialization: select medoids by randomly selecting k points from a set of n data points. | (2) | Link each data point to the nearby medoid using Manhattan distance. | (3) | While the cost reduces for every medoid c, for every data point p not as medoid. |
|