Browse Source

tweak model parameter to exclude noises

Xi Ruoyao 4 years ago
parent
commit
0415082730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -24,7 +24,7 @@ if __name__ == '__main__':
     for e in entries:
         x.append([e.lon, e.lat])
     x = np.array(x)
-    db = DBSCAN(eps = 10/6400000, min_samples = 3,
+    db = DBSCAN(eps = 10/6400000, min_samples = 10,
             metric = metric.spherical_distance).fit(x)
     labels = db.labels_
     core_samples_mask = np.zeros_like(db.labels_, dtype = bool)