Skip to content
代码片段 群组 项目
未验证 提交 96ffcb1a 编辑于 作者: dlagul's avatar dlagul 提交者: GitHub
浏览文件

Update get_interval_anomaly.py

上级 a7b390ab
分支
无相关合并请求
......@@ -12,13 +12,6 @@ class IntervalAnomaly:
self.IntervalMergeThreshold = 300
def IntervalAnomalyDetect(self, realtime, isAnomaly, anomaly_intervals):
'''
params:
realtime: string, as "20180101000001" total 14 bits
isAnomaly: bool, True (represents Anomaly) or False (represents not Anomaly)
return:
None
'''
if len(self.timeWindow) < self.windowsize - 1:
self.timeWindow.append(realtime)
self.anomalyWindow.append(isAnomaly)
......
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册