Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

de-duplicate similarity scores #660

Merged
merged 1 commit into from
Aug 19, 2021
Merged

de-duplicate similarity scores #660

merged 1 commit into from
Aug 19, 2021

Conversation

wilko77
Copy link
Collaborator

@wilko77 wilko77 commented Aug 19, 2021

I noticed that the similarity score results can contain duplicates.
The reason is that if a candidate pair appears in more than one block, they will produce more than one similarity score.

This PR introduces a simple unique value iterator to remove the duplicates from the similarity scores stream. The stream is already sorted, so duplicates will appear one after the other.

@wilko77 wilko77 requested a review from hardbyte August 19, 2021 08:23
Copy link
Collaborator

@hardbyte hardbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

So nice not to have to step about the multi part upload of unknown size with minio.

@hardbyte
Copy link
Collaborator

Closes data61/anonlink#271

@hardbyte hardbyte merged commit 6f8f163 into develop Aug 19, 2021
@hardbyte hardbyte deleted the dedupe_sim_scores branch August 19, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants