What is the difference between a border point and a noise point in DBSCAN?
Last updated
Neither kind of point is a core point. The difference is whether a core point is nearby. A border point lies within eps of at least one core point, so it joins that cluster. A noise point is not within eps of any core point, so it belongs to no cluster.
Core point (for context): Has at least
min_samplespoints withineps. In scikit-learn this count includes the point itself.Border point:
Its own neighborhood is too sparse to be core, but it is density-reachable from a core point.
It gets a cluster label but cannot expand the cluster: no further points are reached through it.
If it is reachable from cores of two clusters, its assignment depends on processing order. This is DBSCAN's main source of nondeterminism.
Noise point (outlier):
Not core, and not reachable from any core point.
Labeled
-1in scikit-learn'slabels_.
Both labels are sensitive to parameters. Increasing
epsor loweringmin_samplesturns noise into border points, and border points into core points.