Skip to content

Commit

Permalink
remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienboussard authored Jan 17, 2024
1 parent 8cbfc59 commit 530a1d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dartsort/cluster/cluster_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def hdbscan_clustering(
scales=scales,
log_c=log_c,
recursive=recursive,
do_remove_dups=do_remove_dups,
do_remove_dups=remove_duplicates,
frames_dedup=frames_dedup,
frame_dedup_cluster=frame_dedup_cluster,
)
Expand All @@ -145,7 +145,6 @@ def hdbscan_clustering(
_, labels[labels >= 0] = np.unique(labels[labels >= 0], return_inverse=True)
return labels

# Implement deduplication here cluster_utils.remove_duplicate_spikes then cluster_utils.remove_self_duplicates
# How to deal with outliers?


Expand Down

0 comments on commit 530a1d9

Please sign in to comment.