TadGAN: Time Series Anomaly Detection Using Generative Adversarial Networks