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

Dice formula correction #186

Merged
merged 2 commits into from
Mar 29, 2021
Merged

Conversation

lowener
Copy link
Contributor

@lowener lowener commented Mar 29, 2021

To match SciPy's implementation: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.dice.html
And avoid potential NaNs due to zeros in the denominator.

@lowener lowener requested a review from divyegala as a code owner March 29, 2021 15:39
@lowener lowener added the non-breaking Non-breaking change label Mar 29, 2021
@github-actions github-actions bot added the cpp label Mar 29, 2021
@cjnolet cjnolet added the improvement Improvement / enhancement to an existing function label Mar 29, 2021
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

Copy link
Member

@divyegala divyegala left a comment

Choose a reason for hiding this comment

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

LGTM

@cjnolet
Copy link
Member

cjnolet commented Mar 29, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit a57cf7d into rapidsai:branch-0.19 Mar 29, 2021
@lowener lowener deleted the 019-dice-fix branch March 30, 2021 19:18
dantegd pushed a commit to dantegd/raft that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants