This is documentation for an old release of Scikit-learn (version 1.3). Try the latest stable release (version 1.6) or development (unstable) versions.
Clustering¶
Examples concerning the sklearn.cluster
module.

A demo of K-Means clustering on the handwritten digits data

A demo of structured Ward hierarchical clustering on an image of coins

Adjustment for chance in clustering performance evaluation

Agglomerative clustering with and without structure

Bisecting K-Means and Regular K-Means Performance Comparison

Comparing different clustering algorithms on toy datasets

Comparing different hierarchical linkage methods on toy datasets

Comparison of the K-Means and MiniBatchKMeans clustering algorithms

Empirical evaluation of the impact of k-means initialization

Hierarchical clustering: structured vs unstructured ward

Selecting the number of clusters with silhouette analysis on KMeans clustering

Various Agglomerative Clustering on a 2D embedding of digits