Skip to main content
. 2020 Mar 30;20(7):1928. doi: 10.3390/s20071928
Algorithm 2 K-means clustering algorithm for raw data and variability data.

1: Initialize K randomly in the centroid points

2: Repeat

3: Calculate distance between each raw or variability data and centroid raw or variability data

4: if the variability is close to centroid raw or variability data, move to the same centroid raw or variability data

   else repeat steps 2 and 3