Skip to content

Commit

Permalink
taking out time
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
Auto User committed Sep 20, 2024
1 parent 5cbec6f commit 5792688
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/algorithms/cmr/cmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 5792688

Please sign in to comment.