Uh oh!
There was an error while loading. Please reload this page.
ARROW-10831: [C++][Compute] Implement quantile kernel - #8920
Conversation
Uh oh!
There was an error while loading. Please reload this page.
cyb70289
commented
Jan 8, 2021
@pitrou , will you review this patch? Thanks. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
What happens if I ask for the median of [-Inf, Inf]?
There was a problem hiding this comment.
Add a test to exercise this case.
Linear interpolated quantile will be -Inf. Numpy returns NaN.
There was a problem hiding this comment.
Hmm, it's not very important, but NaN sounds more logical. What do you think?
There was a problem hiding this comment.
Changed to NaN. Test case also updated.
Uh oh!
There was an error while loading. Please reload this page.
cyb70289
commented
Jan 12, 2021
CI failure is not related. |
cyb70289
commented
Jan 13, 2021
appveyor ci failure is about s3fs test |
pitrou
commented
Jan 13, 2021
I'd rather defer this to 4.0 because |
cyb70289
commented
Jan 14, 2021
No problem. Thanks. |
cyb70289
commented
Jan 18, 2021
Exposed QuantileOptions to Python. |
Calculate the exact quantile by storing all values and partition around quantile point at the end. This may require much memory. As followup task, an approximate method without storing data points will be implemented.
pitrou
commented
Jan 19, 2021
Rebased and fixed conflict. |
Calculate the exact quantile by storing all values and partition around quantile point at the end. This may require much memory. As followup task, an approximate method without storing data points will be implemented. Closes#8920 from cyb70289/quantile Lead-authored-by: Yibo Cai <yibo.cai@arm.com> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
Calculate the exact quantile by storing all values and partition
around quantile point at the end. This may require much memory.
As followup task, an approximate method without storing data points
will be implemented.