Fig. 12From: Statistical analysis of high-dimensional biomedical data: a gentle introduction to analytical goals, common approaches and challengesVisualization of the k-means algorithm with an example. Iteratively, observations are assigned to the cluster for which the squared Euclidean distance from the observation to the cluster centroid is minimized, and cluster centroids are computed based on the current cluster memberships. The iterative process continues until no observations are reassigned (as in the case of the last iteration in the figure). Source: [75]Back to article page