You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
342 B
15 lines
342 B
from __future__ import absolute_import
|
|
|
|
|
|
class Percentile(object):
|
|
def __init__(self, metric_name, percentile):
|
|
self._metric_name = metric_name
|
|
self._percentile = float(percentile)
|
|
|
|
@property
|
|
def name(self):
|
|
return self._metric_name
|
|
|
|
@property
|
|
def percentile(self):
|
|
return self._percentile
|