eren-ck / st_dbscan

ST-DBSCAN: Simple and effective tool for spatial-temporal clustering
MIT License
128 stars 25 forks source link

Units or metrics #11

Closed nikhil-pillai closed 7 months ago

nikhil-pillai commented 7 months ago

What would be the units of these values in eps1 = 0.05, eps2 = 10. Are they m/km or s/min

nikhil-pillai commented 7 months ago

Does this repo only supports metric in cartesian coordinates ? Are there any extension to haversine to cluster lat lon.

eren-ck commented 7 months ago

Hello, the eps1 defines the epsilon distance, ideally for a normalized or standardized dataset. Thus, it is not in m or km. Please refer to detailed descriptions of epsilon for DBSCAN.

The second eps2 distance defines the temporal distance between two time steps. Please refer to the following paper for more details Peca et al..

The package only supports cartesian coordinates, so you would have to project the geographic data to a 2D space, for example, with Equirectangular projection.

Cheers, Eren