-
Notifications
You must be signed in to change notification settings - Fork 54
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
Support multiple axes for ht.percentile
#1510
Conversation
Thank you for the PR! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1510 +/- ##
=======================================
Coverage 92.06% 92.07%
=======================================
Files 83 83
Lines 12194 12196 +2
=======================================
+ Hits 11227 11230 +3
+ Misses 967 966 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thank you for the PR! |
ht.percentile
ht.percentile
Thank you for the PR! |
…mholtz-analytics/heat into features/1389-Speed_up_ht_percentile
Thank you for the PR! |
Thank you for the PR! |
1 similar comment
Thank you for the PR! |
…mholtz-analytics/heat into features/1389-Speed_up_ht_percentile
Thank you for the PR! |
@mrfh92 @JuanPedroGHM I think I'm done here. @mrfh92 I expanded the tests to cover tuple axes for sketched percentile, and also writing to |
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.
My change requests have been addressed.
Thanks for the work 👍
Thank you for the PR! |
@mrfh92 I made small edits to the docs to trigger the pipeline again, codecov had gotten stuck. I'm afraid you need to approve again, thanks! |
Due Diligence
Description
No changes in functionality here,Tuple axes are now supported. The function is just as slow as lamented in #1389 , but it has been refactored for better readability.Issue/s resolved: None
Related issue: #1420
Changes proposed:
ht.percentile
ht.expand_dims
ADDED SEPT 4 2024:
reshape
of a distributed array involves reducing or expanding dimensions, the output (reshaped array) will be distributed along axis 0 by default. Users can always set thenew_axis
argument to a different split axis.Type of change
New feature (non-breaking change which adds functionality) plus refactoring
Memory requirements
Performance
Does this change modify the behaviour of other functions? If so, which?
yes,
reshape
, see above