IntermediateAbout 20 min
DBSCAN — Density-Based Clustering
Read the full article on Substack
7 min read.
k-means asks how many clusters there are and finds exactly that many, all roughly spherical. DBSCAN asks neither — it finds continuous regions of high density, discovers the count itself, and labels what is left over as anomalies. The real algorithm runs live on two moons.
0.20
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Core, border, or noise?
Sort
Sort each point by its DBSCAN role.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Core point
Drop items hereBorder point
Drop items hereNoise
Drop items here6 pieces left to place
Quiz
20 questionsQuestion 1 of 20
Score: 0
DBSCAN defines a cluster as:
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.