dbscan package
Submodules
dbscan.dbscan module
dbscan.utils module
dbscan.visualization module
- dbscan.visualization.plot_clusters(X, labels, title='DBSCAN Clustering')[source]
Plots the data points colored by their cluster label. Noise points (label -1) are colored black.
- Parameters:
X (np.array) – Data points (2D).
labels (list/array) – Cluster labels for each point.
title (str) – Title of the plot.