_OneSegmentChangePointsSegmentationTransform

class _OneSegmentChangePointsSegmentationTransform(in_column: str, out_column: str, change_points_model: etna.transforms.decomposition.change_points_based.change_points_models.base.BaseChangePointsModelAdapter)[source]

Bases: etna.transforms.decomposition.change_points_based.base._OneSegmentChangePointsTransform

_OneSegmentChangePointsSegmentationTransform make label encoder to change points.

Init _OneSegmentChangePointsSegmentationTransform. :param in_column: name of column to apply transform to :param out_column: result column name. If not given use self.__repr__() :param change_points_model: model to get change points

Inherited-members

Parameters

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.