DBSCAN DBSCAN is an unsupervised learning method in the density-based clustering family. This page summarizes its mechanism, practical uses, important trade-offs, and a browser-based concept explorer.
What is learned. During training, the algorithm builds or adjusts the parameters and internal representation used by DBSCAN. The core learning mechanism is: Groups points that are closely packed together (within epsilon radius) with a minimum point threshold, marking low-density points as noise/outliers.
How training becomes inference. Represent observations → measure similarity/density → form or update candidate groups → iterate assignments/structure → stop at convergence → inspect cluster quality and stability. Once training stops, the fitted state is reused on unseen inputs rather than being reconstructed from scratch. The resulting output is: Cluster assignments, cluster memberships, densities or fitted mixture responsibilities.
Why practitioners use it. Discovers arbitrary non-convex cluster shapes; automatically identifies noise/outliers; does not require specifying k. Typical fits include Geographical spatial clustering, fraud ring detection, GPS trajectory analysis.
What to verify before trusting it. Struggles with clusters of varying densities; sensitive to epsilon and min_samples parameter choices. The visual simulation is intentionally simplified, so real use should still validate preprocessing, data independence, hyperparameters, uncertainty and task-appropriate metrics.
Internal statethe parameters and internal representation used by DBSCAN
Typical outputCluster assignments, cluster memberships, densities or fitted mixture responsibilities.
Good fitGeographical spatial clustering, fraud ring detection, GPS trajectory analysis.
Main cautionStruggles with clusters of varying densities; sensitive to epsilon and min_samples parameter choices.