简体   繁体   English

考虑 DBSCAN 中的时间

[英]Considering time in DBSCAN

I want to cluster some GPS points with DBSCAN algorithm and I select eps:20 m and min_samples:4.我想用 DBSCAN 算法和 select eps:20 m 和 min_samples:4 聚类一些 GPS 点。 The algorithm works fine on my data, however I need to also consider time of point in the clustering process.该算法在我的数据上运行良好,但我还需要考虑聚类过程中的时间点。 Suppose there are 10 points in a cluster, however 4 of them are between 8 am and 8:30 am and others in duration of 11 am and 11:15 am.假设一个簇中有 10 个点,但其中 4 个在上午 8 点到 8:30 之间,其他点在上午 11 点到 11:15 之间。 What I want is that the algorithm detects 2 clusters here, one with time of 8 points and one with time of 11 points.我想要的是算法在这里检测到 2 个集群,一个时间为 8 点,一个时间为 11 点。 I mean I need to have another criteria for my DBSCAN algorithm rather than eps and min_samples.我的意思是我需要为我的 DBSCAN 算法设置另一个标准,而不是 eps 和 min_samples。

Use Generalized DBSCAN.使用广义 DBSCAN。

Then define neighbors as being both然后将邻居定义为两者

  1. within distance maxNeighborDistance km在距离 maxNeighborDistance 公里内
  2. within maxNeighborTime minutes在 maxNeighborTime 分钟内

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM