Loading topic
X with one row per sample and one column per feature, and the difference between supervised and unsupervised learning. It covers the two quantities k-means is built on: a distance between a point and 3 min readKMeans in scikit-learn and know that inertia is the sum of squared distances from each point to its assigned centroid.4 min readKMeans in scikit-learn. It covers the data conditions where k-means gives misleading answers, and what to do about each one.3 min readKMeans in scikit-learn, know that k-means minimizes inertia, and understand its limitations from the previous chapter. Here you will see how to speed k-means up on large data, and which algorithms to try when its assumptions fail.3 min read