Browse Source

adjust parameters

Xi Ruoyao 5 years ago
parent
commit
3ce4c1d0ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.py

+ 2 - 2
main.py

@@ -84,10 +84,10 @@ if __name__ == '__main__':
             print("radius = %f m" % rad)
 
         yaw = yaws[class_member_mask]
-        db_yaw = DBSCAN(eps = 0.1, min_samples=100,
+        db_yaw = DBSCAN(eps = 0.05, min_samples=30,
                 metric = metric.ang_distance).fit(yaw.reshape(-1, 1))
         lbs = set(db_yaw.labels_)
-        arrow_colors = [plt.cm.Spectral(each)
+        arrow_colors = [plt.cm.Wistia(each)
                           for each in np.linspace(0, 1, len(lbs))]
         for l in lbs:
             if l != -1: