Skip to content

Files

Latest commit

 

History

History
25 lines (23 loc) · 2.03 KB

File metadata and controls

25 lines (23 loc) · 2.03 KB

OPTICS

Ordering Points To Identify the Clustering Structure (OPTICS) is an algorithm for finding density-based clusters in spatial data.
Its basic idea is similar to DBSCAN, but it addresses one of DBSCAN's major weaknesses: the problem of detecting meaningful clusters in data of varying density.
To do so, the points of the database are (linearly) ordered such that spatially closest points become neighbors in the ordering.
Additionally, a special distance is stored for each point that represents the density that must be accepted for a cluster so that both points belong to the same cluster.(This is represented as a dendrogram.)

code

python3 sample_scratch.py
python3 sample.py

Resources