-
Notifications
You must be signed in to change notification settings - Fork 3
fix: KernelThinning partitioning. #1088
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
Conversation
Adds a test to verify that `kt_half_recursive` behaves as expected. Previously, `kt_half_recursive` would return a list of identical coresets, rather than a recursive split. refs: #1086
The jit variant is applied to the cached and uncached reduce calls. This more accurately captures expected invariant.
Performance reviewCommit
|
gchqdev227
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests look good, and the code changes definitely address the issue.
I've highlighted a line of code I don't think is tested in the changes. It's not a particularly complex case, but I could image it being refactored down the line in a way that undoes the improvements here?
PR Type
Description
Closes #1086
How Has This Been Tested?
Adds a test to verify that
kt_half_recursivebehaves as expected. Previously,kt_half_recursivewould return a list of identical coresets, rather than a recursive split.Does this PR introduce a breaking change?
No.
Checklist before requesting a review