Skip to content

Fix for hellinger metric#1128

Merged
rapids-bot[bot] merged 4 commits intorapidsai:branch-25.08from
viclafargue:fix-hellinger-metric
Jul 23, 2025
Merged

Fix for hellinger metric#1128
rapids-bot[bot] merged 4 commits intorapidsai:branch-25.08from
viclafargue:fix-hellinger-metric

Conversation

@viclafargue
Copy link
Copy Markdown
Contributor

@viclafargue viclafargue commented Jul 17, 2025

The implementation of the distance function for the hellinger metric had two issues :

  1. It did not restore data integrity correctly : double sqrt operation
  2. It did not check for data overlap (two data chunks/tiles in the pairwise operation have overlapping data).

Closes rapidsai/cuml#7011

@viclafargue viclafargue requested a review from cjnolet July 21, 2025 16:40
Comment thread cpp/src/distance/detail/distance.cuh Outdated
@viclafargue viclafargue added bug Something isn't working non-breaking Introduces a non-breaking change labels Jul 23, 2025
@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented Jul 23, 2025

/merge

@rapids-bot rapids-bot Bot merged commit 7a49356 into rapidsai:branch-25.08 Jul 23, 2025
53 checks passed
lowener pushed a commit to lowener/cuvs that referenced this pull request Aug 11, 2025
The implementation of the distance function for the `hellinger` metric had two issues :
1) It did not restore data integrity correctly : double `sqrt` operation
2) It did not check for data overlap (two data chunks/tiles in the pairwise operation have overlapping data).

Authors:
  - Victor Lafargue (https://github.com/viclafargue)

Approvers:
  - Tarang Jain (https://github.com/tarang-jain)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#1128
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 Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[BUG] UMAP error with hellinger metric involving row with no non-zero distance neighbors

4 participants