etna.metrics.MetricAggregationMode#

class MetricAggregationMode(value)[source]#

Bases: str, Enum

Enum for different metric aggregation modes.

Attributes

macro

Metric is calculated for each segment and averaged.

per_segment

Metric is calculated for each segment.

macro = 'macro'[source]#

Metric is calculated for each segment and averaged.

per_segment = 'per-segment'[source]#

Metric is calculated for each segment.