Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BuleSky233 opened this issue May 22, 2022 · 2 comments
Open

Comments

@BuleSky233
Copy link

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!

@robjhyndman
Copy link
Owner

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.

@BuleSky233
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants