Skip to content

Commit

Permalink
Remove incorrect change
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush-se committed Sep 10, 2024
1 parent 235b945 commit 94b95af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seer/anomaly_detection/detectors/anomaly_detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def detect(
stream.update(cur_val)

# Get the matrix profile for the new data and score it
cur_mp = [stream.P_[-1], stream.I_[-1], stream.left_I_[-1], [-1]]
cur_mp = [stream.P_[-1], stream.I_[-1], stream.left_I_[-1], -1]
streamed_mp.append(cur_mp)
mp_dist_baseline = mp_utils.get_mp_dist_from_mp(self.base_mp, pad_to_len=None)
cur_scores, cur_flags = scorer.stream_score(
Expand Down

0 comments on commit 94b95af

Please sign in to comment.