Skip to content

Commit 42e4ab9

Browse files
Merge pull request #37 from earthgecko/patch-1
dictionary key 0 is repeated with different values
2 parents 95161ae + 8e50164 commit 42e4ab9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ from luminol.anomaly_detector import AnomalyDetector
212212
from luminol.correlator import Correlator
213213

214214
ts1 = {0: 0, 1: 0.5, 2: 1, 3: 1, 4: 1, 5: 0, 6: 0, 7: 0, 8: 0}
215-
ts2 = {0: 0, 0: 0.5, 2: 1, 3: 0.5, 4: 1, 5: 0, 6: 1, 7: 1, 8: 1}
215+
ts2 = {0: 0, 1: 0.5, 2: 1, 3: 0.5, 4: 1, 5: 0, 6: 1, 7: 1, 8: 1}
216216

217217
my_detector = AnomalyDetector(ts1, score_threshold=1.5)
218218
score = my_detector.get_all_scores()

0 commit comments

Comments
 (0)