etna.analysis.PerFoldAggregation#

class PerFoldAggregation(value)[source]#

Bases: str, Enum

Enum for types of aggregation in a metric per-segment plot.

Methods

get_function()

Get aggregation function.

Attributes

mean

Mean aggregation.

sum

Median aggregation.

get_function()[source]#

Get aggregation function.

mean = 'mean'[source]#

Mean aggregation.

sum = 'median'[source]#

Median aggregation.