top of page
DBSCAN (73 Pages)

DBSCAN (73 Pages)

$39.00Price

You can already ask an AI to write you a DBSCAN clustering script. The problem is knowing why a radius that looks reasonable quietly dissolves a loose cluster into noise, why a core-point test that forgets to count the point itself shifts every cluster boundary, or why the same eps that works on a map falls apart on data with dozens of dimensions. None of that is visible from model.fit(). This is the course that gives you that judgment.


Five parts, one algorithm, no gaps:

•        Part 1 — Intro. Why clusters are best seen as crowds and strays, how two settings, eps and MinPts, sort every point into core, border, or noise, and how chains of core points grow into clusters of any shape without anyone choosing the number of clusters. The intuition before the notation.

•        Part 2 — By Hand. A complete worked example: twelve wildfire hotspot detections, all 66 pairwise distances, every neighbor count, and five full iterations of label propagation, every number shown. Nothing waved away, nothing left "as an exercise." You watch eight starting labels collapse into two clusters and one noise point and prove the algorithm to yourself.

•        Part 3 — In Excel. The same example built out in a spreadsheet you can open and poke at, one block of rows per iteration, so you see exactly which labels change each round — and watch ten iterations of convergence unfold as you move a point or change the radius.

•        Part 4 — In Python. A clean, executable, verified reference implementation that runs the classic DBSCAN search and the spreadsheet's label propagation and checks both against an exhaustive brute-force search — the known-good version you can check any other code against.

•        Part 5 — With AI. A tested prompt that directs an AI assistant to carry this same algorithm to your problem, plus the understanding to catch it when it's wrong.


By the end you won't just have working code. You'll have followed the algorithm from first principles through a hand calculation, a spreadsheet, and production Python — so when you point an AI at your own spatial data, you'll know how to choose eps from a k-distance plot instead of guessing, recognize when clusters of different densities call for OPTICS or HDBSCAN, and tell when the answer is right.

    bottom of page