thuml / Anomaly-Transformer

About Code release for "Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancy" (ICLR 2022 Spotlight), https://openreview.net/forum?id=LzQQ89U1qm_
MIT License
668 stars 174 forks source link

请问在训练的时候为什么使用 "index:index + self.win_size" 来准备数据集? #40

Closed runningJ closed 1 year ago

runningJ commented 1 year ago

在实际应用场景中,为了考虑报警的实时性,没办法取到当前时刻点之后的100个窗口的数据,请问是我理解的有偏差吗?

Jiehui-Xu commented 1 year ago

窗口的长度可以自行调整,选择100只是为了保持一个一致的实验设定。