anomalous-acm icon indicating copy to clipboard operation
anomalous-acm copied to clipboard

How to rank all samples in order of anomalous level when using ahull

Open BuleSky233 opened this issue 2 years ago • 2 comments

I want to evaluate the result of ahull in terms of AUC. But it needs to rank all samples in order of anomalous level . How can I achieve it? I try setting the value of parameter n to be the number of samples and ordered=TRUE in function 'anomaly' but an error occured: 'Error in findnextoutlier(scores, nextout$alpha, tmp.idx[1:(i - 1)]) : Too hard. Please reduce the number of outliers requeste'. (There are no errors when I set 'method=hdr' but I want to use ahull). Does anybody help? Thank you very much!

BuleSky233 avatar May 22 '22 14:05 BuleSky233

ahull is not designed to do this. Eventually, as the outliers are removed, the alpha size must be reduced so much that the resulting hulls cause numerical issues.

robjhyndman avatar May 22 '22 22:05 robjhyndman

Thank you!

BuleSky233 avatar May 23 '22 04:05 BuleSky233