diff --git a/pkg/algorithms/cmr/cmr.py b/pkg/algorithms/cmr/cmr.py index 9d55ecd..89f2ffc 100644 --- a/pkg/algorithms/cmr/cmr.py +++ b/pkg/algorithms/cmr/cmr.py @@ -56,14 +56,12 @@ def run_cmr(self, dataframe_list: pd.DataFrame): """ metric_columns = self.metrics_config.keys() change_points_by_metric={ k:[] for k in metric_columns } - max_date_time = pd.Timestamp.max.to_pydatetime() - max_time = max_date_time.timestamp() for column in metric_columns: change_point = ChangePoint(metric=column, index=1, - time=max_time, + time=0, stats=ComparativeStats( mean_1=dataframe_list[column][0], mean_2=dataframe_list[column][1],