70 points (3 clusters + uniform noise) are generated deterministically by a fixed-seed LCG. Highlight ID 0 shows all clusters.
Filled = core / outlined = border / gray × = noise / color = cluster ID (legend top right)
DBSCAN defines density via the distance d (here Euclidean) and the two parameters ε and MinPts, and extracts connected components of density as clusters.
ε-neighborhood of a point p:
$$N_\varepsilon(p) = \{\, q \in D \mid d(p,q) \le \varepsilon \,\}$$Core-point condition (at least MinPts neighbors within ε):
$$|N_\varepsilon(p)| \ge \mathrm{MinPts}$$Direct density reachability from core p to q:
$$q \in N_\varepsilon(p) \;\wedge\; p \text{ is a core point}$$Clusters are the connected components of the graph linking core points within ε of each other. Non-core points lying in some core point's ε-neighborhood are added as border points. Points belonging to no core neighborhood are noise (cluster id = −1).