Ralphkaram10 / Supervised_ADS_B_anomaly_detection

Train and test LSTM models or Transformer models to detect anomalies in windows of ADS-B vectors in a supervised fashion
5 stars 1 forks source link

performance of predicted/theoretical alarm #2

Open ffxh opened 8 months ago

ffxh commented 8 months ago

I would like to ask you following, what are the outputs of predictive alarms and theoretical alarms and their comparisons in analyze_detection mode? In the process of running, I found that the evaluations used by these three outputs are empty. And for example, before getting the value of evaluation, the confusion matrix call returns to alarm_pred (which is a variable with a value of [1]) and then gets a matrix with a length of no more than one, so that I don't get some values in evaluation, resulting in an empty value returned by evaluation. When I'm trying to run this project I'm having a problem like this, can you help me understand or solve it ? Thank you so much!

Ralphkaram10 commented 8 months ago
ffxh commented 8 months ago

I used [callsign_AAL2434_filtered_post.csv], in the analyze_detection, my first output Evaluation of classification of meta messages: no problem, but the later outputs ran into a case where evaluation was empty.

Ralphkaram10 commented 8 months ago
ffxh commented 8 months ago

Well, thanks for your help! I have solved the problem successfully with your help. Maybe I should add more flights, I tried to add another two flights and then I ran the code successfully. Now I'll try to open the link (accessing this site from where I am seems to time out) and use those datasets provided by it. Thank you very much for your response! Hope you are doing well!

Ralphkaram10 commented 8 months ago

You are welcome, I’m glad to hear that you were able to solve the problem! If you have any more questions or need further assistance, feel free to ask! 😊

ffxh commented 8 months ago

Hello? Sorry to trouble you again, because the use reference URL in the download_sbs.py is now displayed as 404, is there any other reference method to run this code?

Ralphkaram10 commented 8 months ago

Hello no worries

ffxh commented 8 months ago

Thank you very much for your help, sorry for the late reply, I have understood the way you provided, but because of some network access restrictions in my region, I have encountered the problem of access timeout, but I am constantly trying, I believe that I will get the data I need soon, and finally thank you again for your help, I hope you have a happy life. ^_^

Ralphkaram10 commented 8 months ago

No worries, I am glad you understood the code. Good luck in getting the data. Hope you have a happy life too ^_^ !