Skip to content

Commit

Permalink
feat: change percentage range
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucs1590 committed May 23, 2024
1 parent 4c6bfaa commit 1a55cc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ def preprocess_trackpoints_data(data):
df = df.reset_index(drop=True)
df = df.dropna()

if df.shape[0] > 1000:
if df.shape[0] > 4000:
df = run_euclidean_dist_deletion(df, 0.50)
elif df.shape[0] > 1000:
df = run_euclidean_dist_deletion(df, 0.35)
elif df.shape[0] > 500:
df = run_euclidean_dist_deletion(df, 0.20)
else:
df = run_euclidean_dist_deletion(df, 0.10)

Expand Down

0 comments on commit 1a55cc6

Please sign in to comment.