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

Fix is_min_close #1419

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

benfred
Copy link
Member

@benfred benfred commented Apr 14, 2023

Correlation and Cosine distance both return (1 - similarity) in the pairwise distances apis, meaning that is_min_close is returning the wrong sort order for them. Fix.

Correlation and Cosine distance both return (1 - similarity) in the
pairwise distances apis, meaning that is_min_close is returning the
wrong sort order for them.
@benfred benfred added bug Something isn't working non-breaking Non-breaking change labels Apr 14, 2023
@benfred benfred requested a review from a team as a code owner April 14, 2023 21:50
@github-actions github-actions bot added the cpp label Apr 14, 2023
@benfred benfred self-assigned this Apr 14, 2023
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

LGTM!

@benfred
Copy link
Member Author

benfred commented Apr 17, 2023

/merge

@rapids-bot rapids-bot bot merged commit c7a72be into rapidsai:branch-23.06 Apr 17, 2023
ahendriksen pushed a commit to ahendriksen/raft that referenced this pull request Apr 18, 2023
Correlation and Cosine distance both return (1 - similarity) in the pairwise distances apis, meaning that is_min_close is returning the wrong sort order for them. Fix.

Authors:
  - Ben Frederickson (https://github.com/benfred)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#1419
@benfred benfred deleted the is_min_close_fix branch May 17, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants