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

Related issues in the result output section #88

Open 7C00-lee opened 6 months ago

7C00-lee commented 6 months ago

Hello,

I hope this message finds you well. I wanted to start by expressing my admiration for your outstanding work and thanking you for open-sourcing your project. While using your code, I encountered a question that I hope you could kindly assist me with.

In your paper's "Abstract" section, you mentioned: "More challengingly, how can we do this in a way that captures complex inter-sensor relationships, and detects and explains anomalies which deviate from these relationships?" After going through some parts of your project's source code, I'm curious about how I could adjust the result output section of the code to obtain multiple sets of sensor IDs that might exhibit abnormal relationships.

I'm looking forward to your response. Thank you very much for your time and consideration.

d-ailin commented 6 months ago

Hi, if you want to use custom data, you could adjust your input data format similar to the demo data in https://github.com/d-ailin/GDN/tree/main/data/msl. The sensor IDs might require you extract and process from the intermediate results, such as https://github.com/d-ailin/GDN/blob/9853899da860682669a134e4af315d036aab4eca/main.py#L158.

7C00-lee commented 6 months ago

Hi, if you want to use custom data, you could adjust your input data format similar to the demo data in https://github.com/d-ailin/GDN/tree/main/data/msl. The sensor IDs might require you extract and process from the intermediate results, such as

https://github.com/d-ailin/GDN/blob/9853899da860682669a134e4af315d036aab4eca/main.py#L158

.

Thank you very much for your answer. I will try it first. Thank you again.