What is the difference between core distance and reachability distance in OPTICS?

Quick Overview

Asks how core distance and reachability distance differ in the OPTICS clustering algorithm and how OPTICS uses each one. Tests understanding of density-based clustering, the link to DBSCAN parameters, and how the reachability plot reveals clusters at different densities.

What is the difference between core distance and reachability distance in OPTICS?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

OPTICS is a density-based clustering algorithm related to DBSCAN. What is the difference between core distance and reachability distance in OPTICS, and how does the algorithm use each one? ```hint Count the arguments Notice how many points each quantity is defined on, and what each one says about density. ``` ```hint Compare with DBSCAN Relate each quantity to the `eps` and `MinPts` parameters you would set for DBSCAN. ``` ### What a Strong Answer Covers - The definition of core distance and when it is undefined - The definition of reachability distance, its formula and its asymmetry - How both quantities relate to the DBSCAN parameters - How OPTICS uses them to build its ordering and the reachability plot - How clusters are read or extracted from that plot ### Follow-up Questions - Why does reachability distance take the maximum with the core distance instead of using the raw distance? - How does the choice of `MinPts` change the reachability plot? - What does `eps` control in OPTICS, and what happens if you set it to infinity? - How does the ξ method decide where a cluster starts and ends?

Overview: Asks how core distance and reachability distance differ in the OPTICS clustering algorithm and how OPTICS uses each one. Tests understanding of density-based clustering, the link to DBSCAN parameters, and how the reachability plot reveals clusters at different densities.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

OPTICS is a density-based clustering algorithm related to DBSCAN. What is the difference between core distance and reachability distance in OPTICS, and how does the algorithm use each one?

What a Strong Answer Covers Guidance

  • The definition of core distance and when it is undefined
  • The definition of reachability distance, its formula and its asymmetry
  • How both quantities relate to the DBSCAN parameters
  • How OPTICS uses them to build its ordering and the reachability plot
  • How clusters are read or extracted from that plot

Follow-up Questions Guidance

  • Why does reachability distance take the maximum with the core distance instead of using the raw distance?
  • How does the choice of MinPts change the reachability plot?
  • What does eps control in OPTICS, and what happens if you set it to infinity?
  • How does the ξ method decide where a cluster starts and ends?