-
Notifications
You must be signed in to change notification settings - Fork 2
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: correct plot scaling calculation and leaf parameters #821
Conversation
- Fix scale calculation to use downsampling factor squared - Update leaf count to 16,000
…ndom_weights` in the plots
From my local testing, I get |
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.
Looks good! A couple of questions - if you think these would be better addressed outside this PR I'm happy to approve as is, though.
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.
This all looks good; the new scaling is much more visually apparent. As a last change, we should add this fix to CHANGELOG (and you'll want to merge in main first in order to avoid merge conflicts).
While you're making changes, it might also be good to note in the example (in a comment or docstring) that the point scaling is deliberately exaggerated for visual clarity.
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.
Sorry to nitpick the changelog entries so much, but I think it's good for us to develop good habits around these! Happy for pushback if you feel I've mischaracterised your changes, though.
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.
Nice, all looks good :)
PR Type
Description
The algorithm's execution was slow, not because of image size but due to the leafsize being too close to the coreset_size and there was a bug when we set downsampling factor = 8 which has been fixed here:
How Has This Been Tested?
Test A: (Write your answer here.)
Test B: (Write your answer here.)
Test C: (Write your answer here.)
Does this PR introduce a breaking change?
No
Screenshots
(Write your answer here.)
Checklist before requesting a review