Skip to main content
. 2021 Feb 11;11(2):285. doi: 10.3390/diagnostics11020285
Algorithm 1 Pseudoalgorithm of the clustering process
Input: JSM measurements of the first five visits
Output: Labeled data
1. For each patient p ∈ 𝒫:
Calculate the differences between the consecutive JSM measurements: djp=mjpmip, i[1,,n1], j[2,,n]
Calculate the sum of the absolute differences: k=2n|dkp|
End for each
2. For each clustering method m examined
Perform clustering evaluation with Davies Boulding index and calculate the optimal number of clusters Cm.
Perform clustering with Cm clusters
End for each
3. Return labels and evaluate the clustered data