.. _example_cluster_plot_dbscan.py: =================================== Demo of DBSCAN clustering algorithm =================================== Finds core samples of high density and expands clusters from them. .. image:: images/plot_dbscan_1.png :align: center **Script output**:: Estimated number of clusters: 2 Homogeneity: 0.560 Completeness: 0.802 V-measure: 0.659 Adjusted Rand Index: 0.541 Adjusted Mutual Information: 0.559 Silhouette Coefficient: 0.417 **Python source code:** :download:`plot_dbscan.py ` .. literalinclude:: plot_dbscan.py :lines: 10- **Total running time of the example:** 1.97 seconds