K-Means-Clustering.nb simulates a clustering strategy described in the "Unsupervised Learning" chapter (Chapter 10) of "An Introduction to Statistical Learning" by James, Witten, Hastie and Tibshirani.
In Dynamic-Clustering.nb the number of clusters emerges as part of the simulation.
Additional References: