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

Last updated 11 November 2026

  • Core distance is per point: the distance to its MinPts-th nearest neighbor (the smallest eps making it a core point). It measures local density.

  • Reachability distance is per pair: reach(o, p) = max(core_dist(p), d(p, o)). It is asymmetric and undefined if p is not core.

  • OPTICS orders points by smallest reachability distance. The resulting reachability plot shows clusters as valleys, which can be cut at any density level.

  • https://en.wikipedia.org/wiki/OPTICS_algorithm
  • https://medium.com/@abhishekjainindore24/uml-part-6-optics-clustering-3f6f74ad121b
  • https://www.upgrad.com/tutorials/ai-ml/machine-learning-tutorial/optics-clustering-in-machine-learning/
All Clustering interview questions