Wiki › Project

Intro to DBSCAN

Project · teaching material · 2026

Intro to DBSCAN is a self-contained course on DBSCAN (Density-Based Spatial Clustering of Applications with Noise), from the original 1996 KDD paper to real applications. It pairs derivations and documentation with twelve Jupyter notebooks notebooks and a from-scratch implementation in Python.

Why DBSCAN

DBSCAN groups points that are packed closely together and labels isolated points as noise, without being told how many clusters to find. Its relative HDBSCAN clustering is the core of his galactic merger clustering at NARIT, where stars from the same merger event sit in dense clumps of their orbital properties.

Learning paths

PathTimeCovers
Quick start1–2 hoursWhat DBSCAN does, how it differs from k-means, the eps and min_pts parameters
Comprehensive8–12 hoursThe mathematics: ε-neighbourhoods, density-reachability and connectivity, the algorithm step by step
Advanced4–6 hoursParameter tuning, comparison with other algorithms, spatial clustering, anomaly detection, performance

Notebooks

The twelve notebooks run in order, from a quick start to advanced topics. Each concept is traced back to the original paper, whose PDF is included. The src package has the from-scratch implementation, helpers for tuning parameters and loading data, and visualisations. Tests run in GitHub Actions with code coverage.

See also

In the knowledge graph

Intro to DBSCAN and the 9 things it is linked to. Open any dot for its page, or explore it in the full graph.

When
2023202420252026
Mar 2026 · 1 commits

As data

Everything on this page is read from triples in the knowledge graph. These are the 22 it states about Intro to DBSCAN, and 1 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.

Download
@prefix id: <https://ask.chaipat.cc/id/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix cj: <https://ask.chaipat.cc/ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

id:IntroDBSCAN
    a cj:Project ;
    rdfs:label "Intro to DBSCAN" ;
    cj:description "Learning resource for DBSCAN from the 1996 KDD paper to applications, with derivations, visualisations and notebooks." ;
    cj:context id:OpenSource ;
    cj:repository "https://github.com/AppleBoiy/intro-to-DBSCAN"^^xsd:anyURI ;
    cj:firstCommit "2026-03-15"^^xsd:date ;
    cj:lastCommit "2026-03-15"^^xsd:date ;
    cj:commitCount 1 ;
    cj:kind "teaching material" ;
    cj:license "MIT" ;
    cj:theme id:ThemeML , id:ThemeTeaching ;
    cj:uses id:Python ,
            id:DBSCAN ,
            id:Jupyter ,
            id:GitHubActions ;
    cj:tier 2 ;
    cj:relatedTo id:MergerClustering ;
    cj:mentions id:HDBSCAN ;
    cj:article "https://ask.chaipat.cc/wiki/IntroDBSCAN"^^xsd:anyURI ;
    cj:activeIn id:Y2026 ;
    cj:activity _:b83 .