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

How to get the prediction label for the shape of [pred_lens, 1]. #68

Open QHofmann opened 1 week ago

QHofmann commented 1 week ago

he predicted result in the project has a pred shape of win_size * (predulen- win_size)/ step +1), It seems that each time step uses 100 (win_size) steps for prediction, but the sliding window cannot guarantee that there will be so many time steps in each test set for prediction