Skip to content

Conversation

@jcrist
Copy link
Member

@jcrist jcrist commented Sep 9, 2025

Previously we weren't checking the sample_weight arg was the right shape, now we do.

Fixes #7204.

Previously we weren't checking the `sample_weight` arg was the right
shape, now we do.
@jcrist jcrist self-assigned this Sep 9, 2025
@jcrist jcrist requested a review from a team as a code owner September 9, 2025 15:45
@jcrist jcrist requested a review from viclafargue September 9, 2025 15:45
@jcrist jcrist added bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change labels Sep 9, 2025
@jcrist
Copy link
Member Author

jcrist commented Sep 9, 2025

/merge

@rapids-bot rapids-bot bot merged commit 847e3f9 into rapidsai:branch-25.10 Sep 9, 2025
104 of 105 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] cuml.neighbors.KernelDensity.fit accepts invalid sample_weight (no error for wrong shape)

2 participants