anomalous-acm
anomalous-acm copied to clipboard
How to rank all samples in order of anomalous level when using ahull
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!
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.
Thank you!