-
Notifications
You must be signed in to change notification settings - Fork 53
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
Features/1411 implement sketched percentile #1420
base: main
Are you sure you want to change the base?
Conversation
Thank you for the PR! |
Thank you for the PR! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1420 +/- ##
==========================================
- Coverage 91.87% 91.86% -0.02%
==========================================
Files 80 80
Lines 11822 11840 +18
==========================================
+ Hits 10862 10877 +15
- Misses 960 963 +3
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! |
1 similar comment
Thank you for the PR! |
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.
Some minor comments on documentation
followed mtar's suggestion Co-authored-by: Michael Tarnawa <[email protected]>
updated docstring according to review
for more information, see https://pre-commit.ci
Thank you for the PR! |
for more information, see https://pre-commit.ci
Thank you for the PR! |
1 similar comment
Thank you for the PR! |
updated docstring according to review
for more information, see https://pre-commit.ci
updated docstring according to review
for more information, see https://pre-commit.ci
Thank you for the PR! |
Thank you for the PR! |
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 is a great feature to have, thanks a lot @mrfh92 ! A few comments below...
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
Thank you for the PR! |
This solves #1411 by implementing a sketched version of percentile / median and a corresponding option for the RobustScaler in the preprocessing module.
All new features integrate into the current functionality without changes, due to choice of the current non-sketched version as default.
Performance comparison
on 14 MPI-processes (Workstation, CPU) on behalf of the "asteroids data set" (1317275 data points, 9 features), times and deviation measured over10 runs
*relative deviation of the sketched median vs true median per feature, averaged over 10 runs; only relative deviation for the feature with maximal deviation is reported