etna.analysis.find_change_points#

find_change_points(ts: TSDataset, in_column: str, change_point_model: BaseEstimator, **model_predict_params) Dict[str, List[Timestamp | int]][source]#

Find trend change points using ruptures models.

Parameters:
  • ts (TSDataset) – dataset to work with

  • in_column (str) – name of column to work with

  • change_point_model (BaseEstimator) – ruptures model to get trend change points

  • model_predict_params – params for change_point_model predict method

Returns:

dictionary with list of trend change points for each segment

Return type:

Dict[str, List[Timestamp | int]]