Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Using the same quantile algorithm both for weight=None and not None #578

Merged
merged 1 commit into from
Jan 31, 2017

Conversation

micheles
Copy link
Contributor

Closes #577

@mmpagani
Copy link
Member

Hum, I don't understand why you need to change the values into the test. I understood the two algorithms in absence of weights were giving the same results. Also, the original reason for an ad-hoc routine when weight were not defined was calculation efficiency. Did you perhaps check this?

@micheles
Copy link
Contributor Author

No, the two algorithms in absence of weights were giving DIFFERENT results, hence the problem. There is no performance problem with any algorithm, computing the quantiles is a negligible operation compared to combining the probabilities.

@mmpagani
Copy link
Member

LGTM

@micheles micheles merged commit 7a82238 into master Jan 31, 2017
@micheles micheles deleted the fix-quantile branch January 31, 2017 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants