d-ailin / GDN

Implementation code for the paper "Graph Neural Network-Based Anomaly Detection in Multivariate Time Series" (AAAI 2021)
MIT License
467 stars 140 forks source link

Error in code implementation #60

Open Mary-2023 opened 1 year ago

Mary-2023 commented 1 year ago

Error code

Kindly advise about this error. Thank you.

YeYuan1107 commented 1 year ago

You can see this: https://github.com/d-ailin/GDN/issues/20#issuecomment-1079146387

Mary-2023 commented 1 year ago

Hello, I created anaconda environment and installed all required packages inside and the code ran but with unexpected results. In fact, the values for for F1, precision and recall are all zero as seen in the attached picture for swat dataset. Please advise. Thank you.

Results

d-ailin commented 1 year ago

From your screenshot, I guess it is due to the missing attack label and timestamp columns. You could refer to https://github.com/d-ailin/GDN/tree/main/scripts for preprocessing and the demo processed data to check.