How do you choose the min_samples parameter in DBSCAN?
Last updated
min_samplesis the neighbor count withinepsneeded 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
epswith a k-distance plot and check noise fraction and stability.