lin-shuyu / VAE-LSTM-for-anomaly-detection

We propose a VAE-LSTM model as an unsupervised learning approach for anomaly detection in time series.
427 stars 83 forks source link

why the the detected sequence add a interval*2 margin when plot the result? #13

Open hellopari opened 2 years ago

hellopari commented 2 years ago

Hello, when I read the code and the finally anomaly detection results figure of your paper, I find the axs.plot( j interval 2 ),i cant understand why. If i remove this margin, the detected anomaly will cant cover the true anomaly. So can you explain why? Thanks a lot!