In what data scenarios does DBSCAN outperform k-means?
Last updated
DBSCAN wins on non-convex shapes (moons, rings), noisy data with outliers, unknown cluster counts, and uneven cluster sizes.
It suits spatial data since it accepts any metric (e.g.
haversine), while k-means assumes Euclidean spherical clusters.k-means is better for varying densities, high dimensions, very large datasets, or when centroids are needed.