A demo of K-Means clustering on the handwritten digits data
  • References/Python/scikit-learn/Examples/Clustering

In this example we compare the various initialization strategies for K-means in terms of runtime and quality of the results.

2025-01-10 15:47:30
Demonstration of k-means assumptions
  • References/Python/scikit-learn/Examples/Clustering

This example is meant to illustrate situations where k-means will produce unintuitive and possibly unexpected clusters. In the first three plots, the input

2025-01-10 15:47:30
Agglomerative clustering with and without structure
  • References/Python/scikit-learn/Examples/Clustering

This example shows the effect of imposing a connectivity graph to capture local structure in the data. The graph is simply the graph of 20

2025-01-10 15:47:30
Spectral clustering for image segmentation
  • References/Python/scikit-learn/Examples/Clustering

In this example, an image with connected circles is generated and spectral clustering is used to separate the circles. In these settings, the

2025-01-10 15:47:30
Comparison of the K-Means and MiniBatchKMeans clustering algorithms
  • References/Python/scikit-learn/Examples/Clustering

We want to compare the performance of the MiniBatchKMeans and KMeans: the MiniBatchKMeans is faster, but gives slightly different

2025-01-10 15:47:30
Vector Quantization Example
  • References/Python/scikit-learn/Examples/Clustering

Face, a 1024 x 768 size image of a raccoon face, is used here to illustrate how k-means is used for vector quantization.

2025-01-10 15:47:30
A demo of structured Ward hierarchical clustering on a raccoon face image
  • References/Python/scikit-learn/Examples/Clustering

Compute the segmentation of a 2D image with Ward hierarchical clustering. The clustering is spatially constrained in

2025-01-10 15:47:30
Hierarchical clustering
  • References/Python/scikit-learn/Examples/Clustering

Example builds a swiss roll dataset and runs hierarchical clustering on their position. For more information, see

2025-01-10 15:47:30
Demo of affinity propagation clustering algorithm
  • References/Python/scikit-learn/Examples/Clustering

Reference: Brendan J. Frey and Delbert Dueck, ?Clustering by Passing Messages Between Data Points?, Science Feb. 2007

2025-01-10 15:47:30
Color Quantization using K-Means
  • References/Python/scikit-learn/Examples/Clustering

Performs a pixel-wise Vector Quantization (VQ) of an image of the summer palace (China), reducing the number of colors required to show the image from 96,615

2025-01-10 15:47:30