-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Make _weighted_percentile more robust #6189
Copy link
Copy link
Closed
Labels
Description
As reported by @maniteja123
y_true = [0, 1]
weights = [1, 1]
_weighted_percentile(y_true, weights, 50)
0
Do we want to do some sort of linear interpolation as described in this method?
https://en.wikipedia.org/wiki/Percentile#The_Weighted_Percentile_method
Reactions are currently unavailable