arunppsg / TadGAN

Code for the paper "TadGAN: Time Series Anomaly Detection Using Generative Adversarial Networks"
MIT License
156 stars 34 forks source link

How to use other datasets for TadGAN? #6

Closed kanesp closed 2 years ago

kanesp commented 3 years ago

Description

The dataset for ur code should have a column name as signal containing the signals and a column with name anomaly containing the true labels. But in the paper of TADGAN, e.g.,NAB(Art) dataset is only has two COLUMN ( timestamp and value). how can i use the dataset like NAB?

arunppsg commented 3 years ago

The anomaly column is only required for validation purpose. See point 1 in usage.

kanesp commented 3 years ago

i find the anomaly column is used in anomaly_detection.test(test_loader, encoder, decoder, critic_x) which is used to detect anomalies. if i want to detect anomalies, my dataset must have the anomaly column. Right?