01Chapter 1: What clustering is and where k-means fitsThis chapter assumes basic Python and NumPy, feature matrices with rows as samples, and familiarity with Euclidean distance, means, and supervised versus unsupervised learning.1 min read
02Chapter 2: Lloyd's algorithm step by stepAssume you know basic Python and NumPy, means, Euclidean distance, and feature matrices where rows are samples and columns are features.1 min read
03Chapter 3: Running k-means with scikit-learnAssume you know Python, NumPy arrays, feature matrices, Euclidean distance, and the difference between supervised and unsupervised learning. In scikit-learn, KMeans assigns each row to a cluster and stores the learned centroids.1 min read