Home | History | Annotate | Download | only in metrics

Lines Matching refs:Percentile

182   return Percentile(values, 50)
185 def Percentile(values, percentile):
189 percentile for this set of values. When the percentage doesn't exactly
190 match a rank in the list of values, the percentile is computed using linear
195 percentile: A number between 0 and 100.
198 The Nth percentile for the list of values, where N is the given percentage.
204 percentile /= 100.0
205 if percentile <= 0.5 / n:
207 elif percentile >= (n - 0.5) / n:
210 floor_index = int(math.floor(n * percentile - 0.5))
213 alpha = n * percentile - 0.5 - floor_index