_OneSegmentChangePointsLevelTransform¶
- class _OneSegmentChangePointsLevelTransform(in_column: str, change_points_model: etna.transforms.decomposition.change_points_based.change_points_models.base.BaseChangePointsModelAdapter, per_interval_model: etna.transforms.decomposition.change_points_based.per_interval_models.statistics_based.StatisticsPerIntervalModel)[source]¶
Bases:
etna.transforms.decomposition.change_points_based.detrend._OneSegmentChangePointsTrendTransform
Init _OneSegmentChangePointsTransform.
- Parameters
in_column (str) – name of column to apple transform to
change_points_model (etna.transforms.decomposition.change_points_based.change_points_models.base.BaseChangePointsModelAdapter) – model to get change points from data
per_interval_model (etna.transforms.decomposition.change_points_based.per_interval_models.statistics_based.StatisticsPerIntervalModel) – model to process intervals between change points
- Inherited-members
Methods
fit
(df)Fit transform.
fit_transform
(df)Fit and transform Dataframe.
inverse_transform
(df)Split df to intervals of stable trend according to previous change point detection and add trend to each one.
set_params
(**params)Return new object instance with modified parameters.
to_dict
()Collect all information about etna object in dict.
transform
(df)Transform data from df.