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 sampling bug #2343

Merged

Conversation

ChuckHastings
Copy link
Collaborator

@jnke2016 found a bug in the sampling code.

Fix weight lookup to match index lookup. The weight array mirrors the indices array in its structure, but the computation to do the lookup was correct for the indices array but incorrect for the weights array.

@ChuckHastings ChuckHastings requested a review from a team as a code owner June 6, 2022 20:47
@ChuckHastings ChuckHastings self-assigned this Jun 6, 2022
@ChuckHastings ChuckHastings added 3 - Ready for Review bug Something isn't working non-breaking Non-breaking change labels Jun 6, 2022
@ChuckHastings ChuckHastings added this to the 22.08 milestone Jun 6, 2022
@ChuckHastings
Copy link
Collaborator Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 00b8344 into rapidsai:branch-22.08 Jun 6, 2022
@ChuckHastings ChuckHastings deleted the fix_sampling_indices_bug branch August 4, 2022 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants