1. University MCA (AI/ML) Semester 2
  2. CAB212
  3. Unit 5

CAB212 · Unit 5: Unsupervised learning

DBSCAN density-based clustering

6 practice questions

Key points

  • Parameters eps and minPts
  • Core, border, noise points
  • Finds arbitrary shapes, flags outliers
  • Struggles with varying density

DBSCAN groups points that are densely packed and marks isolated points as noise. Parameters:

  • eps: neighbourhood radius.
  • minPts: minimum points in a neighbourhood (including the point) to count as dense.

Point types: core (at least minPts within eps), border (within eps of a core point but not core itself), noise (neither).

Clusters grow by connecting core points whose neighbourhoods overlap. No need to give k; finds arbitrary shapes (crescents, rings) and labels outliers. Weak when clusters have very different densities or in high dimensions; sensitive to eps. A k-distance plot helps choose eps.

Exam pitfall: DBSCAN labels noise as -1 in scikit-learn; these points belong to no cluster.

Try two questions

Question 1 · Tier 2, Understand

A key advantage of DBSCAN over k-means is that it:

  1. Needs class labels to form clusters
  2. Has no parameters to tune
  3. Detects non-spherical clusters and outliers without specifying k
  4. Always runs faster on every dataset
Show the answer

C. Density-based, shape-agnostic.

Question 2 · Tier 2, Understand

A point with at least minPts points within eps is a:

  1. Centroid
  2. Noise point
  3. Border point
  4. Core point
Show the answer

D. Core points seed clusters.