precision
Micro-averaged precision over multiple runs.
- class pysatl_cpd.analysis.metrics.multiple_run.classification.precision.PrecisionMetric(error_margin)[source]
Bases:
DerivedMetric[TraceT,ProviderT,Number,float],GenericConfigure the precision metric with an error margin.
- Parameters:
error_margin (
tuple[int,int]) – Allowed (left, right) margin around each true change point for matching detections.
- property bases: Mapping[str, IMultipleRunMetric[TraceT, ProviderT, int]]
Underlying TP and FP metrics.
- Return type:
Mapping[str,IMultipleRunMetric]