Skip to content

Latest commit

 

History

History
585 lines (321 loc) · 16.1 KB

File metadata and controls

585 lines (321 loc) · 16.1 KB

Clustering

Examples concerning the :mod:`sklearn.cluster` module.

.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_kmeans_digits_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_digits.py`
A demo of K-Means clustering on the handwritten digits data
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_coin_ward_segmentation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_coin_ward_segmentation.py`
A demo of structured Ward hierarchical clustering on an image of coins
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_mean_shift_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_mean_shift.py`
A demo of the mean-shift clustering algorithm
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_adjusted_for_chance_measures_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_adjusted_for_chance_measures.py`
Adjustment for chance in clustering performance evaluation
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_agglomerative_clustering_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_agglomerative_clustering.py`
Agglomerative clustering with and without structure
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_agglomerative_clustering_metrics_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_agglomerative_clustering_metrics.py`
Agglomerative clustering with different metrics
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_kmeans_plusplus_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_plusplus.py`
An example of K-Means++ initialization
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_bisect_kmeans_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_bisect_kmeans.py`
Bisecting K-Means and Regular K-Means Performance Comparison
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_color_quantization_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_color_quantization.py`
Color Quantization using K-Means
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_birch_vs_minibatchkmeans_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_birch_vs_minibatchkmeans.py`
Compare BIRCH and MiniBatchKMeans
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_cluster_comparison_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_cluster_comparison.py`
Comparing different clustering algorithms on toy datasets
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_linkage_comparison_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_linkage_comparison.py`
Comparing different hierarchical linkage methods on toy datasets
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_mini_batch_kmeans_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_mini_batch_kmeans.py`
Comparison of the K-Means and MiniBatchKMeans clustering algorithms
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_dbscan_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_dbscan.py`
Demo of DBSCAN clustering algorithm
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_hdbscan_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_hdbscan.py`
Demo of HDBSCAN clustering algorithm
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_optics_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_optics.py`
Demo of OPTICS clustering algorithm
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_affinity_propagation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_affinity_propagation.py`
Demo of affinity propagation clustering algorithm
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_kmeans_assumptions_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_assumptions.py`
Demonstration of k-means assumptions
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_kmeans_stability_low_dim_dense_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_stability_low_dim_dense.py`
Empirical evaluation of the impact of k-means initialization
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_digits_agglomeration_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_digits_agglomeration.py`
Feature agglomeration
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_feature_agglomeration_vs_univariate_selection_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_feature_agglomeration_vs_univariate_selection.py`
Feature agglomeration vs. univariate selection
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_ward_structured_vs_unstructured_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_ward_structured_vs_unstructured.py`
Hierarchical clustering: structured vs unstructured ward
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_inductive_clustering_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_inductive_clustering.py`
Inductive Clustering
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_cluster_iris_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_cluster_iris.py`
K-means Clustering
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_dict_face_patches_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_dict_face_patches.py`
Online learning of a dictionary of parts of faces
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_agglomerative_dendrogram_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_agglomerative_dendrogram.py`
Plot Hierarchical Clustering Dendrogram
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_coin_segmentation_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_coin_segmentation.py`
Segmenting the picture of greek coins in regions
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_kmeans_silhouette_analysis_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_kmeans_silhouette_analysis.py`
Selecting the number of clusters with silhouette analysis on KMeans clustering
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_segmentation_toy_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_segmentation_toy.py`
Spectral clustering for image segmentation
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_digits_linkage_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_digits_linkage.py`
Various Agglomerative Clustering on a 2D embedding of digits
.. only:: html

  .. image:: /auto_examples/cluster/images/thumb/sphx_glr_plot_face_compress_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_cluster_plot_face_compress.py`
Vector Quantization Example
.. toctree::
   :hidden:

   /auto_examples/cluster/plot_kmeans_digits
   /auto_examples/cluster/plot_coin_ward_segmentation
   /auto_examples/cluster/plot_mean_shift
   /auto_examples/cluster/plot_adjusted_for_chance_measures
   /auto_examples/cluster/plot_agglomerative_clustering
   /auto_examples/cluster/plot_agglomerative_clustering_metrics
   /auto_examples/cluster/plot_kmeans_plusplus
   /auto_examples/cluster/plot_bisect_kmeans
   /auto_examples/cluster/plot_color_quantization
   /auto_examples/cluster/plot_birch_vs_minibatchkmeans
   /auto_examples/cluster/plot_cluster_comparison
   /auto_examples/cluster/plot_linkage_comparison
   /auto_examples/cluster/plot_mini_batch_kmeans
   /auto_examples/cluster/plot_dbscan
   /auto_examples/cluster/plot_hdbscan
   /auto_examples/cluster/plot_optics
   /auto_examples/cluster/plot_affinity_propagation
   /auto_examples/cluster/plot_kmeans_assumptions
   /auto_examples/cluster/plot_kmeans_stability_low_dim_dense
   /auto_examples/cluster/plot_digits_agglomeration
   /auto_examples/cluster/plot_feature_agglomeration_vs_univariate_selection
   /auto_examples/cluster/plot_ward_structured_vs_unstructured
   /auto_examples/cluster/plot_inductive_clustering
   /auto_examples/cluster/plot_cluster_iris
   /auto_examples/cluster/plot_dict_face_patches
   /auto_examples/cluster/plot_agglomerative_dendrogram
   /auto_examples/cluster/plot_coin_segmentation
   /auto_examples/cluster/plot_kmeans_silhouette_analysis
   /auto_examples/cluster/plot_segmentation_toy
   /auto_examples/cluster/plot_digits_linkage
   /auto_examples/cluster/plot_face_compress