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
763 stars 202 forks source link

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

Open QHofmann opened 4 months ago

QHofmann commented 4 months 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