simulstream.metrics.stats.Stats
- class simulstream.metrics.stats.Stats
Bases:
objectAbstract base class for defining evaluation statistics.
Subclasses must implement: -
name(): unique identifier of the statistic. -description(): a human-readable explanation. -compute(): logic to compute the metric from aLogReader.- __init__()
Methods
__init__()compute(log_reader)Compute the value of the statistic.
The human-readable explanation of the statistic.
name()The unique name of the statistic.