MACHINE LEARNING / CLUSTERING

DBSCAN

Discover arbitrarily shaped clusters from local density while labeling isolated points as noise.

UnsupervisedClusteringDensity-based
Saved only in this browser

01 Overview

02 The Problem

Clusters may be irregularly shaped and mixed with noise. DBSCAN defines a cluster through local density instead of requiring a fixed number of spherical groups.

03 Why It Matters

DBSCAN can discover multiple shapes and explicitly label isolated observations as noise, which makes it useful for spatial and anomaly-oriented data.

04 Intuition

Draw a circle of radius epsilon around each point. Dense points form the seeds of clusters; nearby border points join them, while isolated points remain noise.

05 Mathematical Foundation

A point is core when its epsilon neighbourhood contains at least MinPts observations. Density reachability then expands a cluster through connected core points.

06 The Equation

\[|N_{\epsilon}(p)|\geq\mathrm{MinPts}\Rightarrow p\text{ is core}\]
  • \(\epsilon\) neighbourhood radius
  • \(N_{\epsilon}(p)\) points within that radius
  • \(\mathrm{MinPts}\) density threshold

07 How It Learns

  1. Choose epsilon and MinPts.
  2. Identify core points.
  3. Expand clusters through density-connected cores.
  4. Label unassigned points as noise or border.

08 Algorithm

Neighbourhood query
↓
Core-point expansion
↓
Clusters plus noise

09 Visual Explanation

A quick visual summary of how this model sees data and makes its prediction.

10 Worked Example

Increasing epsilon joins more points and may merge groups; increasing MinPts demands denser evidence and usually labels more points as noise.

11 Data & Features

12 Evaluation

13 Strengths

14 Limitations

15 When to Use

16 When Not to Use

17 Real-World Applications

19 60-Second Recap

20 Continue Learning