How do you choose the min_samples parameter in DBSCAN?

Last updated 11 November 2026

  • min_samples is the neighbor count within eps needed for a core point. Use at least D+1 dimensions, commonly 2·D, and larger for noisy or big data.

  • Higher values give more noise and fewer, denser clusters. Very low values (1 or 2) degrade into single linkage with chaining.

  • Pick it first (ideally near the smallest meaningful group size), then tune eps with a k-distance plot and check noise fraction and stability.

  • https://www.analyticsvidhya.com/blog/2021/05/20-questions-to-test-your-skills-on-dbscan-clustering-algorithm/
  • https://medium.com/@tarammullin/dbscan-parameter-estimation-ff8330e3a3bd
  • https://apxml.com/courses/applied-data-science/chapter-4-applied-unsupervised-learning/applying-dbscan
All Clustering interview questions