Return to Algorithms

DBSCAN Clustering Visualization

Core Points Border Points Noise Points
Connections

Controls

Data Generation

5.0

DBSCAN Parameters

0.5

Visualization Options

Algorithm Stats

Number of Clusters Found: 0
Core Points: 0
Border Points: 0
Noise Points: 0
Status: Not Started

Parameter Sensitivity Analysis

How DBSCAN Clustering Works

DBSCAN (Density-Based Spatial Clustering of Applications with Noise) is an algorithm that groups together points that are closely packed, while marking points in low-density regions as outliers.

The Algorithm:

  1. Core Points: Find all points that have at least minPts neighbors within distance ε (epsilon)
  2. Cluster Formation: Expand clusters from core points by recursively adding all density-connected points
  3. Border Points: Points that are within ε of a core point but don't have enough neighbors themselves
  4. Noise Points: Points that are neither core nor border points

Key Advantages:

  • Does not require specifying the number of clusters in advance
  • Can find arbitrarily shaped clusters
  • Robust to outliers
  • Only has two parameters: ε and minPts

Limitations:

  • Struggles with clusters of varying densities
  • Sensitive to parameter choices
  • Not effective when clusters are very close
  • Can be computationally intensive for large datasets

Parameter Selection:

  • ε (Epsilon): The radius within which to search for neighbors
  • minPts: Typically 2×dimensions is recommended (e.g., 4 for 2D data)