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
Segmenting the picture of a raccoon face in regions
  • References/Python/scikit-learn/Examples/Clustering

This example uses

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
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
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
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
Empirical evaluation of the impact of k-means initialization
  • References/Python/scikit-learn/Examples/Clustering

Evaluate the ability of k-means initializations strategies to make the algorithm convergence robust as measured by the relative

2025-01-10 15:47:30
Agglomerative clustering with different metrics
  • References/Python/scikit-learn/Examples/Clustering

Demonstrates the effect of different metrics on the hierarchical clustering. The example is engineered to show the effect of the choice

2025-01-10 15:47:30