Closed vvvu closed 3 years ago
Thanks for your input.
This is actually a typo from our side. The method adjust_predicts()
is an evaluation method taken from OmniAnomaly (as stated in line 19). We simply forgot to change the comment in the method.
In OmniAnomaly, the model outputs reconstruction probabilities that represent the likelihood of the input data. Therefore, they mark instances with a score (probability) below a certain threshold as anomalies. So your intuition is correct, and we do mark instances as anomalous if their anomaly score is above the threshold.
Thanks for the explanation. It helps me a lot!
Thank you for your excellent work! I don't understand the
adjust_predicts()
function when I was reading the source code.In the
adjust_predicts()
function, the comment indicates thatBut when you preprocess the data, in the
preprocess.py
fileMy question is, why do you consider a point is labeled as "anomaly" if its score lower than the threshold in the adjust_predicts() function when you set the Label of the anomaly to True during data preprocessing? In my opinion the anomaly point which score is higher than the threshold.
Thanks for your time. Hope you can answer my question.