MeanPerIntervalModel

class MeanPerIntervalModel[source]

Bases: etna.transforms.decomposition.change_points_based.per_interval_models.statistics_based.StatisticsPerIntervalModel

MeanPerIntervalModel.

MeanPerIntervalModel is a shortcut for :py:class:`etna.transforms.decomposition.change_points_based.per_interval_models.statistics_based.StatisticsPerIntervalModel that uses mean value as statistics function.

Init StatisticsPerIntervalModel.

Parameters

statistics_function – function to compute statistics from series

Inherited-members

Methods

fit(features, target, *args, **kwargs)

Fit statistics from given target.

predict(features, *args, **kwargs)

Build prediction from precomputed statistics.

set_params(**params)

Return new object instance with modified parameters.

to_dict()

Collect all information about etna object in dict.