aggregation_metric
Base classes for reducers over single-run metric results.
- class pysatl_cpd.analysis.metrics.multiple_run.aggregation_metric.AggregationMetric[source]
Bases:
IMultipleRunMetric,GenericEvaluate a single-run metric on each run and aggregate the results.
Notes
The generic parameters identify the detection trace type, labeled data provider type, per-run metric result type, and aggregated result type.
- abstract property base_metric: ISingleRunMetric
Underlying per-run metric.
- Return type:
ISingleRunMetric
- class pysatl_cpd.analysis.metrics.multiple_run.aggregation_metric.TotalSum[source]
Bases:
AggregationMetric[TraceT,ProviderT,NumberT|Sequence,NumberT],GenericSum flat or nested per-run numeric results into one total.
- class pysatl_cpd.analysis.metrics.multiple_run.aggregation_metric.TotalMean[source]
Bases:
AggregationMetric[TraceT,ProviderT,NumberT|Sequence,float],GenericTake the global mean of flat or nested per-run numeric results.
- class pysatl_cpd.analysis.metrics.multiple_run.aggregation_metric.TotalMedian[source]
Bases:
AggregationMetric[TraceT,ProviderT,NumberT|Sequence,float],GenericTake the global median of flat or nested per-run numeric results.