An Introduction to k-Means Clustering
The open-access materials (http://modelai.gettysburg.edu/2016/kmeans/) include exercises adaptable to Matlab or its free-and-open-source-software (FOSS) Octave alternative, a FOSS Weka data mining tool clustering tutorial, test data sets, guided implementation exercises, PowerPoint slides, an index to recommended online and textbook resources, and a notation guide we created to show the relationship between diverse notations in diverse sources. To date this is the most comprehensive resource collection available on the most popular clustering algorithm. [From the Author]
Neller, Todd W. and Brown, Laura E., "An Introduction to k-Means Clustering" (2016). Computer Science Faculty Publications. 34.