Search⌘ K

Mean Shift Clustering

Explore the mean shift clustering algorithm to automatically determine the number of clusters in your data. Understand how it identifies cluster centers and assigns observations without needing a preset cluster count using scikit-learn's MeanShift implementation.

Chapter Goals:

  • Learn about the mean shift clustering algorithm

A. Choosing the number of clusters

Each of the clustering algorithms we've used so far require us to pass in the number of clusters. This is fine if we already know the number of clusters we want, or have a good guess for the number of ...